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");
 }
예제 #2
0
 public void Then_the_contact_book_should_contains_all_other_contacts()
 {
     Assert.Equal(
         ContactBook.Contacts.ToArray(),
         AddedContacts.Except(RemovedContacts).ToArray());
 }