Ejemplo n.º 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"
            }));
        }
Ejemplo n.º 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);
        }