Exemplo n.º 1
0
        public void TestDeleteNotificationPreference()
        {
            Moip.Models.NotificationPreferenceRequest notificationPreferenceRequest = Helpers.RequestsCreator.CreateNotificationRequest();

            string notificationPreferenceId = controller.CreateNotificationPreference(notificationPreferenceRequest).Id;

            bool notificationPreferenceResponse = controller.DeleteNotificationPreference(notificationPreferenceId);

            Assert.IsTrue(notificationPreferenceResponse, "Should be true when deleting a notification preference");
        }