Beispiel #1
0
        public void Test_CreateSubscriptionEndpointID()
        {
            var subscriptionRequest = new CfSubscriptionRequest
            {
                Subscription = new CfSubscription
                {
                    Endpoint     = "*****@*****.**",
                    TriggerEvent = CfSubscriptionTriggerEvent.CampaignStarted
                }
            };
            var id = Client.CreateSubscription(subscriptionRequest);

            Assert.IsNotNull(id);
        }
        public void CreateSubscription()
        {
            var id = Client.CreateSubscription(SubscriptionRequest);

            Assert.AreEqual(SubscriptionId, id);
        }