Beispiel #1
0
        public void TestMessageA()
        {
            var demo1 = new MessageDispatcher.MessageDispatcher("MessageA", "BodyOfMsgA");

            StringAssert.Contains(demo1.ResultMsg(), "_PROCESSED_BY_HANDLER_A");
        }
Beispiel #2
0
        public void TestUnknownMessage()
        {
            var demo1 = new MessageDispatcher.MessageDispatcher("UnknownMsgType", "UnknownMsgBody");

            StringAssert.Contains(demo1.ResultMsg(), "_PROCESSED_BY_DEFAULT_HANDLER");
        }