public void ConvertToChannels_PartWrongSubscriberPort()
 {
     ObservableCollection<MapChannelViewModel> mapChannelViewModels = new ObservableCollection<MapChannelViewModel>();
     mapChannelViewModels.Add(new MapChannelViewModel { MapChannelPublisherTitle = "IPublisher.Remote:1234", MapChannelSubscriberTitle = "ISubscriber.Remote:1234" });
     mapChannelViewModels.Add(new MapChannelViewModel { MapChannelPublisherTitle = "IPublisher.Remote:5678", MapChannelSubscriberTitle = "ISubscriber.Remote: " });
     mapChannelViewModels.Add(new MapChannelViewModel { MapChannelPublisherTitle = "IPublisher.Remote:9012", MapChannelSubscriberTitle = "ISubscriber.Remote:9012" });
     mapChannelViewModels.Add(new MapChannelViewModel { MapChannelPublisherTitle = "IPublisher.Remote:3456", MapChannelSubscriberTitle = "ISubscriber.Remote:" });
     mapChannelViewModels.Add(new MapChannelViewModel { MapChannelPublisherTitle = "IPublisher.Remote:7890", MapChannelSubscriberTitle = "ISubscriber.Remote:7890" });
     var channels = mapChannelViewModels.ConvertToChannels();
     Assert.IsNotNull(channels);
     Assert.AreEqual(3, channels.Count());
     Assert.AreEqual(3,
                     channels.Count(
                         c => c.PublisherInfo.InstanceName == "IPublisher.Remote" && c.PublisherInfo.Port > 0));
     Assert.AreEqual(3, channels.Count(c => c.SubscriberInfo.InstanceName == "ISubscriber.Remote" && c.SubscriberInfo.Port > 0));
 }