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

            var notificationTypeDtos = new List<NotificationTypeDto>();
            LoadNotificationTypes(notificationTypeDtos);

            var sendingApplicationDto = new SendingApplicationDto {SendingApplicationName = ApplicationTestName};
            LoadApplicationIcon(sendingApplicationDto);

            foghornClient.RegisterSendingApplication(sendingApplicationDto, notificationTypeDtos);

            //TODO: Add Assertions
        }