Пример #1
0
 public void Cannot_Assign_Invalid_Organization_Field_Value()
 {
     ContactCreator.CreateContactWithInvalidOrganization();
     AssertThat.IsTrue(ContactCreator.FirstContact.IsContactCreatedSuccessfully,
                       "Contact was not created successfully though it should. Defect spotted!");
     AssertThat.AreEqual(ContactViewPage.OrganizationName, "",
                         $"Organization ought to be null but it has value = '{ContactViewPage.OrganizationName}' which is invalid. Defect spotted!");
 }