public void BatchAddAddsAllItems() { var msg1 = Substitute.For <IMessage>(); var msg2 = Substitute.For <IMessage>(); var msgCollection = new[] { msg1, msg2 }; _messageCollector.AddMessages(msgCollection); Assert.That(_messageCollector.Messages, Is.EquivalentTo(msgCollection)); }