예제 #1
0
 public void TestComplicatedIsBadRequest()
 {
     FooResponse.CreateBadRequest()
     .AssertResponse()
     .IsTrue(r => r.OK.Bar == "wrong");
 }
예제 #2
0
 public void TestWrongStatus()
 {
     FooResponse.CreateBadRequest()
     .AssertResponse()
     .HasValue(r => r.OK);
 }
 public void TestSuccessBadRequest()
 {
     FooResponse.CreateBadRequest()
     .AssertResponse()
     .IsTrue(r => r.BadRequest);
 }