Exemple #1
0
        public void TestNotify_ApplicationExists_NotificationSent()
        {
            var foghornClient =
                new ChannelFactory<IFoghornService>(new BasicHttpBinding(), new EndpointAddress(ServiceUrl)).CreateChannel();

            var notificationDto = new NotificationDto
                {
                    NotificationMessage = "This is the message of the test notification.",
                    NotificationTypeName = "Error",
                    NotificationTitle = "Notification Title",
                    Priority = 2,
                    Sticky = true
                };
            foghornClient.Notify(notificationDto, ApplicationTestName);

            //TODO: Add Assertions
        }