Beispiel #1
0
 protected ResultExpectation CreateError(string errorKey)
 {
     return(ResultExpectation.CreateError(errorMap[errorKey], errorKey));
 }
Beispiel #2
0
 protected ResultExpectation CreateOK()
 {
     return(ResultExpectation.CreateOK());
 }
Beispiel #3
0
 public bool CheckResponse(ResultExpectation resultExpectation)
 {
     Debug.WriteLine($"resultExpectation: {ScenarioLabel} - { resultExpectation }");
     return((resultExpectation.Ok) ? CheckValidResult() : CheckInvalidResult(resultExpectation.ErrorType));
 }