示例#1
0
        public void HttpMessageProcessorFailed()
        {
            var o = new HttpMessageProcessor();

            Assert.Throws <WebException>(() => o.ProcessMessage("test", new ConfigurationEntry {
                RedriveUrl = "http://noonehost.com/post/here?parm=test"
            }));
        }
示例#2
0
        public void HttpMessageProcessorSuccess()
        {
            var o = new HttpMessageProcessor();

            o.ProcessMessage("test", new ConfigurationEntry {
                RedriveUrl = "http://nonehost.com/post/here?parm=test"
            });
            Assert.True(true);
        }