public void should_throw_an_exception_listing_the_channels_that_are_missing()
        {
            var graph = new ChannelGraph();

            graph.Add(new ChannelNode
            {
                Key = "Foo:1",
                Uri = "foo://1".ToUri()
            });

            graph.Add(new ChannelNode
            {
                Key = "Foo:2",
                Uri = "foo://2".ToUri()
            });

            var subscriptions = new TransportActivator(graph, null, null,
                                                       new ITransport[] { new InMemoryTransport() },
                                                       Enumerable.Empty <IFubuTransportActivator>());


            Exception <InvalidOrMissingTransportException> .ShouldBeThrownBy(subscriptions.OpenChannels);
        }
        protected override Uri getReplyUri(ChannelGraph graph)
        {
            var uri       = _settings.ReplyUri ?? ReplyUriForGraph(graph);
            var replyNode = new ChannelNode
            {
                Uri      = uri,
                Incoming = true
            };

            replyNode.Key     = replyNode.Key ?? "{0}:{1}".ToFormat(Protocol, "replies");
            replyNode.Channel = buildChannel(replyNode);

            graph.Add(replyNode);

            return(uri);
        }