Ejemplo n.º 1
0
        public void TestRegisterSubscription_ApplicationExists_SubscriberRegistered()
        {
            var foghornClient =
                new ChannelFactory<IFoghornService>(new BasicHttpBinding(), new EndpointAddress(ServiceUrl)).CreateChannel();
            var subscriberDto = new SubscriberDto {HostName = "localhost", Password = "******", SubscriberName = "jbloggs"};
            foghornClient.RegisterSubscription(subscriberDto, ApplicationTestName);

            //TODO: Add Assertions
        }