public void Import_Contacts_With_The_Same_Contact_Twice() { ContactCreator.ImportTemplateWithTwinContacts(); AssertThat.IsTrue(ContactCreator.IsContactFileImportedWithDuplicates, "At least one of the 2 duplicate contacts should have been imported but neither did."); ContactsPage.FindContact() .WithFirstName(ContactCreator.FirstContact.FirstName) .AndLastName(ContactCreator.FirstContact.LastName) .Find(); AssertThat.AreEqual(ContactsPage.TotalContactsCountByLabel, 1, $"There should be only one contact with name '{ContactCreator.FirstContact.FullName}' being displayed. It seems that the second twin contact was imported successfully"); }