public void NotificationPushFailTransactionTest() { BvgConnectorMock connector = GetConnector(NotificationPushDataProvider.GetNotificationPushWrongTransaction()); NotificationPushBVG response = connector.NotificationPush(NotificationPushDataProvider.GetNotificationPushBVG()); Assert.AreNotEqual(null, response); Assert.AreEqual(false, String.IsNullOrEmpty(response.GetStatusCode())); Assert.AreEqual(false, String.IsNullOrEmpty(response.GetStatusMessage())); Assert.AreEqual("2070", response.GetStatusCode()); }
public void NotificationPushFailWithoutFieldTest() { BvgConnectorMock connector = GetConnector(NotificationPushDataProvider.GetNotificationPushWithoutField()); NotificationPushBVG response = connector.NotificationPush(NotificationPushDataProvider.GetNotificationPushBVG()); Assert.AreNotEqual(null, response); Assert.AreEqual(false, String.IsNullOrEmpty(response.GetStatusCode())); Assert.AreEqual(false, String.IsNullOrEmpty(response.GetStatusMessage())); Assert.AreEqual("1014", response.GetStatusCode()); }
public void TransactionFailValidationTest() { BvgConnectorMock connector = GetConnector(NotificationPushDataProvider.GetNotificationPushOkResponse()); NotificationPushBVG response = connector.NotificationPush(NotificationPushDataProvider.GetNotificationPushWrongFieldBVG()); }