Esempio n. 1
0
 public void TestWrongStatusBooleanProperty()
 {
     FooResponse.CreateUnauthorized()
     .AssertResponse()
     .HasValue(r => r.OK);
 }
Esempio n. 2
0
 public void TestSuccessBadRequest()
 {
     FooResponse.CreateUnauthorized()
     .AssertResponse()
     .IsTrue(r => r.Unauthorized);
 }