Beispiel #1
0
        public void ShouldSendMessage()
        {
            var sut      = new MessengerService();
            var received = false;

            Messenger.Default.Register <bool>(this, (message) => { received = message; });
            sut.Send(true);

            Assert.True(received);
        }