예제 #1
0
 public static void CheckBooleanResponse(BooleanResponse resp)
 {
     Assert.IsTrue(resp.IsSuccessfull, "Boolean Result failed with response: " + resp.Response + " and Error Message: " + resp.ErrorMessage);
 }
예제 #2
0
 public static void CheckBooleanResponseForFalse(BooleanResponse resp)
 {
     Assert.IsNull(resp.ErrorMessage, "Error message not null: " + resp.ErrorMessage);
     Assert.IsFalse(resp.Response, "Boolean Result not false as expected: " + resp.Response);
 }