public void SampleNotification_ReturnsANotificationForAPartnerMerchantConnected()
{
Dictionary<string, string> sampleNotification = gateway.WebhookTesting.SampleNotification(WebhookKind.PARTNER_MERCHANT_CONNECTED, "my_id");
WebhookNotification notification = gateway.WebhookNotification.Parse(sampleNotification["bt_signature"], sampleNotification["bt_payload"]);
Assert.AreEqual(WebhookKind.PARTNER_MERCHANT_CONNECTED, notification.Kind);
Assert.AreEqual("public_id", notification.PartnerMerchant.MerchantPublicId);
Assert.AreEqual("public_key", notification.PartnerMerchant.PublicKey);
Assert.AreEqual("private_key", notification.PartnerMerchant.PrivateKey);
Assert.AreEqual("cse_key", notification.PartnerMerchant.ClientSideEncryptionKey);
Assert.AreEqual("abc123", notification.PartnerMerchant.PartnerMerchantId);
}