@@ -85,7 +85,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
85
85
responseDocument . Data . ManyValue [ 0 ] . Attributes . ShouldContainKey ( "caption" ) . With ( value => value . Should ( ) . Be ( post . Caption ) ) ;
86
86
responseDocument . Data . ManyValue [ 0 ] . Relationships . Should ( ) . BeNull ( ) ;
87
87
88
- var postCaptured = ( BlogPost ) store . Resources . Should ( ) . ContainSingle ( resource => resource is BlogPost ) . And . Subject . Single ( ) ;
88
+ var postCaptured = ( BlogPost ) store . Resources . Should ( ) . ContainSingle ( resource => resource is BlogPost ) . Which ;
89
89
postCaptured . Caption . Should ( ) . Be ( post . Caption ) ;
90
90
postCaptured . Url . Should ( ) . BeNull ( ) ;
91
91
}
@@ -140,7 +140,7 @@ await _testContext.RunOnDatabaseAsync(dbContext =>
140
140
responseDocument . Data . SingleValue . Attributes . ShouldContainKey ( "url" ) . With ( value => value . Should ( ) . Be ( post . Url ) ) ;
141
141
responseDocument . Data . SingleValue . Relationships . Should ( ) . BeNull ( ) ;
142
142
143
- var postCaptured = ( BlogPost ) store . Resources . Should ( ) . ContainSingle ( resource => resource is BlogPost ) . And . Subject . Single ( ) ;
143
+ var postCaptured = ( BlogPost ) store . Resources . Should ( ) . ContainSingle ( resource => resource is BlogPost ) . Which ;
144
144
postCaptured . Url . Should ( ) . Be ( post . Url ) ;
145
145
postCaptured . Caption . Should ( ) . BeNull ( ) ;
146
146
}
@@ -262,7 +262,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
262
262
responseDocument . Data . ManyValue [ 0 ] . Attributes . ShouldContainKey ( "caption" ) . With ( value => value . Should ( ) . Be ( post . Caption ) ) ;
263
263
responseDocument . Data . ManyValue [ 0 ] . Relationships . Should ( ) . BeNull ( ) ;
264
264
265
- var postCaptured = ( BlogPost ) store . Resources . Should ( ) . ContainSingle ( resource => resource is BlogPost ) . And . Subject . Single ( ) ;
265
+ var postCaptured = ( BlogPost ) store . Resources . Should ( ) . ContainSingle ( resource => resource is BlogPost ) . Which ;
266
266
postCaptured . Id . Should ( ) . Be ( post . Id ) ;
267
267
postCaptured . Caption . Should ( ) . Be ( post . Caption ) ;
268
268
postCaptured . Url . Should ( ) . BeNull ( ) ;
@@ -297,7 +297,7 @@ await _testContext.RunOnDatabaseAsync(async dbContext =>
297
297
responseDocument . Data . ManyValue [ 0 ] . Attributes . Should ( ) . BeNull ( ) ;
298
298
responseDocument . Data . ManyValue [ 0 ] . Relationships . Should ( ) . BeNull ( ) ;
299
299
300
- var postCaptured = ( BlogPost ) store . Resources . Should ( ) . ContainSingle ( resource => resource is BlogPost ) . And . Subject . Single ( ) ;
300
+ var postCaptured = ( BlogPost ) store . Resources . Should ( ) . ContainSingle ( resource => resource is BlogPost ) . Which ;
301
301
postCaptured . Id . Should ( ) . Be ( post . Id ) ;
302
302
postCaptured . Url . Should ( ) . BeNull ( ) ;
303
303
}
@@ -332,7 +332,7 @@ await _testContext.RunOnDatabaseAsync(dbContext =>
332
332
responseDocument . Data . SingleValue . Attributes . ShouldContainKey ( "showAdvertisements" ) . With ( value => value . Should ( ) . Be ( blog . ShowAdvertisements ) ) ;
333
333
responseDocument . Data . SingleValue . Relationships . Should ( ) . BeNull ( ) ;
334
334
335
- var blogCaptured = ( Blog ) store . Resources . Should ( ) . ContainSingle ( resource => resource is Blog ) . And . Subject . Single ( ) ;
335
+ var blogCaptured = ( Blog ) store . Resources . Should ( ) . ContainSingle ( resource => resource is Blog ) . Which ;
336
336
blogCaptured . ShowAdvertisements . Should ( ) . Be ( blog . ShowAdvertisements ) ;
337
337
blogCaptured . IsPublished . Should ( ) . Be ( blog . IsPublished ) ;
338
338
blogCaptured . Title . Should ( ) . Be ( blog . Title ) ;
0 commit comments