public when_building_an_envelope_for_sending_that_matches_an_existing_channel() { theGraph = new ChannelGraph(theTransport, new StubTransport("fake"), new StubTransport("other")); theGraph.AcceptedContentTypes.Add("text/xml"); theGraph.AcceptedContentTypes.Add("text/json"); var address = "stub://one".ToUri(); theNode = theGraph[address]; theNode.Sender = new NulloSender(theTransport, theNode.Uri); theNode.ShouldNotBeNull(); theNode.Destination = "remote://one".ToUri(); theNode.ReplyUri = "stub://replies".ToUri(); theSentEnvelope = theGraph.Send(theEnvelope, address, theSerializer); }
public void is_a_reply_node() { theReplyNode.ShouldNotBeNull(); }