public void GwApiExceptionInputTest3(string message, string responseError) { GwApiException gwApiException = new GwApiException(message, responseError); Assert.AreEqual(message, gwApiException.Message); Assert.AreEqual(responseError, gwApiException.ResponseError); }
public void GwApiExceptionInputTest1(string message) { GwApiException gwApiException = new GwApiException(message, innerException); Assert.AreEqual(message, gwApiException.Message); Assert.AreEqual(innerException, gwApiException.InnerException); }
public void GwApiExceptionInputTest2(string message, string suggestion) { GwApiException gwApiException = new GwApiException(message, suggestion, innerException); Assert.AreEqual(message, gwApiException.Message); Assert.AreEqual(suggestion, gwApiException.Suggestion); Assert.AreEqual(innerException, gwApiException.InnerException); }