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