Braintree.Tests.WebhookNotificationTest.SampleNotification_ReturnsANotificationForCheck C# (CSharp) Method

SampleNotification_ReturnsANotificationForCheck() private method

private SampleNotification_ReturnsANotificationForCheck ( ) : void
return 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);
        }
    }