public void VMNotificator_AddErrors_Must_Add_Errors_By_Notifications() { //Arrange var errors = new[] { new Notification("Error Message", "001"), new Notification("Error Message 2", "002") }; //Act _notificator.AddErrors(errors); //Assert var result = _notificator.GetErrors(); result.Should().Contain(errors); }