public static void HaveStatusCode(this ObjectAssertions objectAssertion, HttpStatusCode statusCode) { objectAssertion.Match <HttpResponseMessage>(x => x.StatusCode == statusCode); }
public static void HaveStatusCode(this ObjectAssertions objectAssertion, HttpStatusCode statusCode) { objectAssertion.Match <HttpResponseMessage>(x => x.StatusCode == statusCode); }