Beispiel #1
0
 public static void AnotherTestMessageReceiver(Message message)
 {
     ReceivedMessages++;
 }
Beispiel #2
0
        public static void YetYetAnotherTestMessageReceiver(Message message)
        {
            ReceivedMessages++;

            Assert.IsInstanceOfType(message, typeof(TestMessage));
        }
Beispiel #3
0
        public void YetYetYetAnotherTestMessageReceiver(Message message)
        {
            ReceivedMessages++;

            Assert.Fail("This means that a subclass was received even though it was not supposed to be.");
        }