@@ -54,7 +54,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
5454 // Assert
5555 httpResponse . Should ( ) . HaveStatusCode ( HttpStatusCode . OK ) ;
5656
57- responseDocument . Data . SingleValue . Should ( ) . NotBeNull ( ) ;
57+ responseDocument . Data . SingleValue . ShouldNotBeNull ( ) ;
5858 responseDocument . Data . SingleValue . Id . Should ( ) . Be ( broadcast . StringId ) ;
5959 responseDocument . Data . SingleValue . Attributes [ "archivedAt" ] . As < DateTimeOffset ? > ( ) . Should ( ) . BeCloseTo ( broadcast . ArchivedAt . GetValueOrDefault ( ) ) ;
6060 }
@@ -80,7 +80,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
8080 // Assert
8181 httpResponse . Should ( ) . HaveStatusCode ( HttpStatusCode . OK ) ;
8282
83- responseDocument . Data . SingleValue . Should ( ) . NotBeNull ( ) ;
83+ responseDocument . Data . SingleValue . ShouldNotBeNull ( ) ;
8484 responseDocument . Data . SingleValue . Id . Should ( ) . Be ( broadcast . StringId ) ;
8585 responseDocument . Data . SingleValue . Attributes [ "archivedAt" ] . As < DateTimeOffset ? > ( ) . Should ( ) . BeNull ( ) ;
8686 }
@@ -107,7 +107,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
107107 // Assert
108108 httpResponse . Should ( ) . HaveStatusCode ( HttpStatusCode . OK ) ;
109109
110- responseDocument . Data . ManyValue . Should ( ) . HaveCount ( 1 ) ;
110+ responseDocument . Data . ManyValue . ShouldHaveCount ( 1 ) ;
111111 responseDocument . Data . ManyValue [ 0 ] . Id . Should ( ) . Be ( broadcasts [ 1 ] . StringId ) ;
112112 responseDocument . Data . ManyValue [ 0 ] . Attributes [ "archivedAt" ] . As < DateTimeOffset ? > ( ) . Should ( ) . BeNull ( ) ;
113113 }
@@ -134,7 +134,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
134134 // Assert
135135 httpResponse . Should ( ) . HaveStatusCode ( HttpStatusCode . OK ) ;
136136
137- responseDocument . Data . ManyValue . Should ( ) . HaveCount ( 2 ) ;
137+ responseDocument . Data . ManyValue . ShouldHaveCount ( 2 ) ;
138138 responseDocument . Data . ManyValue [ 0 ] . Id . Should ( ) . Be ( broadcasts [ 0 ] . StringId ) ;
139139 responseDocument . Data . ManyValue [ 0 ] . Attributes [ "archivedAt" ] . As < DateTimeOffset ? > ( ) . Should ( ) . BeCloseTo ( broadcasts [ 0 ] . ArchivedAt . GetValueOrDefault ( ) ) ;
140140 responseDocument . Data . ManyValue [ 1 ] . Id . Should ( ) . Be ( broadcasts [ 1 ] . StringId ) ;
@@ -163,10 +163,10 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
163163 // Assert
164164 httpResponse . Should ( ) . HaveStatusCode ( HttpStatusCode . OK ) ;
165165
166- responseDocument . Data . SingleValue . Should ( ) . NotBeNull ( ) ;
166+ responseDocument . Data . SingleValue . ShouldNotBeNull ( ) ;
167167 responseDocument . Data . SingleValue . Id . Should ( ) . Be ( station . StringId ) ;
168168
169- responseDocument . Included . Should ( ) . HaveCount ( 1 ) ;
169+ responseDocument . Included . ShouldHaveCount ( 1 ) ;
170170 responseDocument . Included [ 0 ] . Id . Should ( ) . Be ( station . Broadcasts . ElementAt ( 1 ) . StringId ) ;
171171 responseDocument . Included [ 0 ] . Attributes [ "archivedAt" ] . Should ( ) . BeNull ( ) ;
172172 }
@@ -196,10 +196,10 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
196196
197197 DateTimeOffset archivedAt0 = station . Broadcasts . ElementAt ( 0 ) . ArchivedAt . GetValueOrDefault ( ) ;
198198
199- responseDocument . Data . SingleValue . Should ( ) . NotBeNull ( ) ;
199+ responseDocument . Data . SingleValue . ShouldNotBeNull ( ) ;
200200 responseDocument . Data . SingleValue . Id . Should ( ) . Be ( station . StringId ) ;
201201
202- responseDocument . Included . Should ( ) . HaveCount ( 2 ) ;
202+ responseDocument . Included . ShouldHaveCount ( 2 ) ;
203203 responseDocument . Included [ 0 ] . Id . Should ( ) . Be ( station . Broadcasts . ElementAt ( 0 ) . StringId ) ;
204204 responseDocument . Included [ 0 ] . Attributes [ "archivedAt" ] . As < DateTimeOffset ? > ( ) . Should ( ) . BeCloseTo ( archivedAt0 ) ;
205205 responseDocument . Included [ 1 ] . Id . Should ( ) . Be ( station . Broadcasts . ElementAt ( 1 ) . StringId ) ;
@@ -229,7 +229,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
229229
230230 DateTimeOffset archivedAt = comment . AppliesTo . ArchivedAt . GetValueOrDefault ( ) ;
231231
232- responseDocument . Data . SingleValue . Should ( ) . NotBeNull ( ) ;
232+ responseDocument . Data . SingleValue . ShouldNotBeNull ( ) ;
233233 responseDocument . Data . SingleValue . Id . Should ( ) . Be ( comment . AppliesTo . StringId ) ;
234234 responseDocument . Data . SingleValue . Attributes [ "archivedAt" ] . As < DateTimeOffset ? > ( ) . Should ( ) . BeCloseTo ( archivedAt ) ;
235235 }
@@ -256,7 +256,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
256256 // Assert
257257 httpResponse . Should ( ) . HaveStatusCode ( HttpStatusCode . OK ) ;
258258
259- responseDocument . Data . ManyValue . Should ( ) . HaveCount ( 1 ) ;
259+ responseDocument . Data . ManyValue . ShouldHaveCount ( 1 ) ;
260260 responseDocument . Data . ManyValue [ 0 ] . Id . Should ( ) . Be ( station . Broadcasts . ElementAt ( 1 ) . StringId ) ;
261261 responseDocument . Data . ManyValue [ 0 ] . Attributes [ "archivedAt" ] . Should ( ) . BeNull ( ) ;
262262 }
@@ -285,7 +285,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
285285
286286 DateTimeOffset archivedAt0 = station . Broadcasts . ElementAt ( 0 ) . ArchivedAt . GetValueOrDefault ( ) ;
287287
288- responseDocument . Data . ManyValue . Should ( ) . HaveCount ( 2 ) ;
288+ responseDocument . Data . ManyValue . ShouldHaveCount ( 2 ) ;
289289 responseDocument . Data . ManyValue [ 0 ] . Id . Should ( ) . Be ( station . Broadcasts . ElementAt ( 0 ) . StringId ) ;
290290 responseDocument . Data . ManyValue [ 0 ] . Attributes [ "archivedAt" ] . As < DateTimeOffset ? > ( ) . Should ( ) . BeCloseTo ( archivedAt0 ) ;
291291 responseDocument . Data . ManyValue [ 1 ] . Id . Should ( ) . Be ( station . Broadcasts . ElementAt ( 1 ) . StringId ) ;
@@ -315,10 +315,10 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
315315 // Assert
316316 httpResponse . Should ( ) . HaveStatusCode ( HttpStatusCode . OK ) ;
317317
318- responseDocument . Data . ManyValue . Should ( ) . HaveCount ( 1 ) ;
318+ responseDocument . Data . ManyValue . ShouldHaveCount ( 1 ) ;
319319 responseDocument . Data . ManyValue [ 0 ] . Id . Should ( ) . Be ( network . Stations . ElementAt ( 0 ) . StringId ) ;
320320
321- responseDocument . Included . Should ( ) . HaveCount ( 1 ) ;
321+ responseDocument . Included . ShouldHaveCount ( 1 ) ;
322322 responseDocument . Included [ 0 ] . Id . Should ( ) . Be ( network . Stations . ElementAt ( 0 ) . Broadcasts . ElementAt ( 1 ) . StringId ) ;
323323 responseDocument . Included [ 0 ] . Attributes [ "archivedAt" ] . Should ( ) . BeNull ( ) ;
324324 }
@@ -348,10 +348,10 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
348348
349349 DateTimeOffset archivedAt0 = network . Stations . ElementAt ( 0 ) . Broadcasts . ElementAt ( 0 ) . ArchivedAt . GetValueOrDefault ( ) ;
350350
351- responseDocument . Data . ManyValue . Should ( ) . HaveCount ( 1 ) ;
351+ responseDocument . Data . ManyValue . ShouldHaveCount ( 1 ) ;
352352 responseDocument . Data . ManyValue [ 0 ] . Id . Should ( ) . Be ( network . Stations . ElementAt ( 0 ) . StringId ) ;
353353
354- responseDocument . Included . Should ( ) . HaveCount ( 2 ) ;
354+ responseDocument . Included . ShouldHaveCount ( 2 ) ;
355355 responseDocument . Included [ 0 ] . Id . Should ( ) . Be ( network . Stations . ElementAt ( 0 ) . Broadcasts . ElementAt ( 0 ) . StringId ) ;
356356 responseDocument . Included [ 0 ] . Attributes [ "archivedAt" ] . As < DateTimeOffset ? > ( ) . Should ( ) . BeCloseTo ( archivedAt0 ) ;
357357 responseDocument . Included [ 1 ] . Id . Should ( ) . Be ( network . Stations . ElementAt ( 0 ) . Broadcasts . ElementAt ( 1 ) . StringId ) ;
@@ -380,7 +380,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
380380 // Assert
381381 httpResponse . Should ( ) . HaveStatusCode ( HttpStatusCode . OK ) ;
382382
383- responseDocument . Data . ManyValue . Should ( ) . HaveCount ( 1 ) ;
383+ responseDocument . Data . ManyValue . ShouldHaveCount ( 1 ) ;
384384 responseDocument . Data . ManyValue [ 0 ] . Id . Should ( ) . Be ( station . Broadcasts . ElementAt ( 1 ) . StringId ) ;
385385 }
386386
@@ -406,7 +406,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
406406 // Assert
407407 httpResponse . Should ( ) . HaveStatusCode ( HttpStatusCode . OK ) ;
408408
409- responseDocument . Data . ManyValue . Should ( ) . HaveCount ( 2 ) ;
409+ responseDocument . Data . ManyValue . ShouldHaveCount ( 2 ) ;
410410 responseDocument . Data . ManyValue [ 0 ] . Id . Should ( ) . Be ( station . Broadcasts . ElementAt ( 0 ) . StringId ) ;
411411 responseDocument . Data . ManyValue [ 1 ] . Id . Should ( ) . Be ( station . Broadcasts . ElementAt ( 1 ) . StringId ) ;
412412 }
@@ -438,7 +438,7 @@ public async Task Can_create_unarchived_resource()
438438 // Assert
439439 httpResponse . Should ( ) . HaveStatusCode ( HttpStatusCode . Created ) ;
440440
441- responseDocument . Data . SingleValue . Should ( ) . NotBeNull ( ) ;
441+ responseDocument . Data . SingleValue . ShouldNotBeNull ( ) ;
442442 responseDocument . Data . SingleValue . Attributes [ "title" ] . Should ( ) . Be ( newBroadcast . Title ) ;
443443 responseDocument . Data . SingleValue . Attributes [ "airedAt" ] . As < DateTimeOffset > ( ) . Should ( ) . BeCloseTo ( newBroadcast . AiredAt ) ;
444444 responseDocument . Data . SingleValue . Attributes [ "archivedAt" ] . Should ( ) . BeNull ( ) ;
@@ -472,7 +472,7 @@ public async Task Cannot_create_archived_resource()
472472 // Assert
473473 httpResponse . Should ( ) . HaveStatusCode ( HttpStatusCode . Forbidden ) ;
474474
475- responseDocument . Errors . Should ( ) . HaveCount ( 1 ) ;
475+ responseDocument . Errors . ShouldHaveCount ( 1 ) ;
476476
477477 ErrorObject error = responseDocument . Errors [ 0 ] ;
478478 error . StatusCode . Should ( ) . Be ( HttpStatusCode . Forbidden ) ;
@@ -604,7 +604,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
604604 // Assert
605605 httpResponse . Should ( ) . HaveStatusCode ( HttpStatusCode . Forbidden ) ;
606606
607- responseDocument . Errors . Should ( ) . HaveCount ( 1 ) ;
607+ responseDocument . Errors . ShouldHaveCount ( 1 ) ;
608608
609609 ErrorObject error = responseDocument . Errors [ 0 ] ;
610610 error . StatusCode . Should ( ) . Be ( HttpStatusCode . Forbidden ) ;
@@ -663,7 +663,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
663663 // Assert
664664 httpResponse . Should ( ) . HaveStatusCode ( HttpStatusCode . Forbidden ) ;
665665
666- responseDocument . Errors . Should ( ) . HaveCount ( 1 ) ;
666+ responseDocument . Errors . ShouldHaveCount ( 1 ) ;
667667
668668 ErrorObject error = responseDocument . Errors [ 0 ] ;
669669 error . StatusCode . Should ( ) . Be ( HttpStatusCode . Forbidden ) ;
0 commit comments