public void AllowMultipleNamedAssertions() { _responseWithObject .TestStatus("first", code => code == 200) .TestBody("second", body => body.id != null) .Assert("first") .Assert("second"); }
public void ThenTheBoardIsCreated() { _responseContext .TestStatus("status", x => x == 200) .Assert("status"); }
public void EmptyResponseShouldPass() { _responseWithNothing .TestStatus("is-ok", x => x == 200) .Assert("is-ok"); }