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