示例#1
0
 public static SendBuilder StatusCodeShouldBeOk(this SendBuilder scenario)
 {
     return(scenario.ExpectedStatus(HttpStatusCode.OK));
 }
示例#2
0
 public static SendBuilder StatusCodeShouldBeBadRequest(this SendBuilder scenario)
 {
     return(scenario.ExpectedStatus(HttpStatusCode.BadRequest));
 }
示例#3
0
 public static SendBuilder StatusCodeShouldBeUnauthorized(this SendBuilder scenario)
 {
     return(scenario.ExpectedStatus(HttpStatusCode.Unauthorized));
 }
示例#4
0
 public static SendBuilder StatusCodeShouldBeAccepted(this SendBuilder scenario)
 {
     return(scenario.ExpectedStatus(HttpStatusCode.Accepted));
 }