Example #1
0
        public void ListCanBeCleared()
        {
            var message = Substitute.For <IMessage>();

            _messageCollector.AddMessage(message);
            _messageCollector.ClearMessages();
            Assert.That(_messageCollector.Messages, Is.Empty);
        }