public static void ExpectValidationFailure(ApiResponseWrapper <Common.Dto.ErrorResponse> responseWrapper, string message) { ApiResponseBasicAsserts.ExpectFailureWithMessage(responseWrapper, HttpStatusCode.BadRequest, message); }
public static void ExpectFailureWithMessage(ApiResponseWrapper <Common.Dto.ErrorResponse> responseWrapper, HttpStatusCode statusCode, string messageShouldContain = null) { ApiResponseBasicAsserts.ExpectFailureWithMessage(responseWrapper, statusCode, messageShouldContain); }