Braintree.Tests.WebhookNotificationTest.SampleNotification_ReturnsANotificationForCheck C# (CSharp) Метод

SampleNotification_ReturnsANotificationForCheck() приватный Метод

private SampleNotification_ReturnsANotificationForCheck ( ) : void
Результат void
        public void SampleNotification_ReturnsANotificationForCheck()
        {
          Dictionary<string, string> sampleNotification = gateway.WebhookTesting.SampleNotification(WebhookKind.CHECK, "");

          WebhookNotification notification = gateway.WebhookNotification.Parse(sampleNotification["bt_signature"], sampleNotification["bt_payload"]);

          Assert.AreEqual(WebhookKind.CHECK, notification.Kind);
        }
    }