예제 #1
0
        public void SendIndirectMessageFormPostEmptyRecipient()
        {
            TestBadChannel badChannel = new TestBadChannel();
            var            message    = new TestDirectedMessage(MessageTransport.Indirect);

            badChannel.CreateFormPostResponse(message, new Dictionary <string, string>());
        }
예제 #2
0
        public void SendIndirectMessageFormPostNullFields()
        {
            TestBadChannel badChannel = new TestBadChannel();
            var            message    = new TestDirectedMessage(MessageTransport.Indirect);

            message.Recipient = new Uri("http://someserver");
            badChannel.CreateFormPostResponse(message, null);
        }
예제 #3
0
        public void SendIndirectMessageFormPostNullMessage()
        {
            TestBadChannel badChannel = new TestBadChannel();

            badChannel.CreateFormPostResponse(null, new Dictionary <string, string>());
        }