public static void CheckBooleanResponse(BooleanResponse resp) { Assert.IsTrue(resp.IsSuccessfull, "Boolean Result failed with response: " + resp.Response + " and Error Message: " + resp.ErrorMessage); }
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); }