public static ApiQuestions HaveResult <T>(this ApiQuestions questions, T resembling, IEqualityComparer <T> comparer) => questions.Add(new ShouldHaveResultOfType <T>()) .Add(new ShouldHaveResult <T>(resembling, comparer));
public static ApiQuestions HaveResultOfType <T>(this ApiQuestions questions) => questions.Add(new ShouldHaveResultOfType <T>());
public static ApiQuestions HaveCreatedStatusCode(this ApiQuestions questions, Uri location = null) => questions.Add(new ShouldHaveApiCreatedStatusCode(location));
public static ApiQuestions HaveContentType(this ApiQuestions questions, MediaTypeHeaderValue contentType) => questions.Add(new ShouldHaveApiContentType(contentType));
public static ApiQuestions HaveStatusCode(this ApiQuestions questions, HttpStatusCode code) => questions.Add(new ShouldHaveApiStatusCode(code));