public void Then_the_contact_book_should_contains_all_other_contacts() { CollectionAssert.AreEquivalent( ContactBook.Contacts.ToArray(), AddedContacts.Except(RemovedContacts).ToArray(), "All contacts that has not been explicitly removed should be still present in contact book"); }
public void Then_the_contact_book_should_contains_all_other_contacts() { Assert.Equal( ContactBook.Contacts.ToArray(), AddedContacts.Except(RemovedContacts).ToArray()); }