public void AllowMultipleNamedAssertions()
 {
     _responseWithObject
     .TestStatus("first", code => code == 200)
     .TestBody("second", body => body.id != null)
     .Assert("first")
     .Assert("second");
 }
Пример #2
0
 public void ThenTheBoardIsCreated()
 {
     _responseContext
     .TestStatus("status", x => x == 200)
     .Assert("status");
 }
Пример #3
0
 public void EmptyResponseShouldPass()
 {
     _responseWithNothing
     .TestStatus("is-ok", x => x == 200)
     .Assert("is-ok");
 }