public static string WithInvalidEmail() => TestDataReader.GetTestData("Email");
public static User WithLogin() { return(new User(TestDataReader.GetTestData("UserName"), TestDataReader.GetTestData("UserPassword"), TestDataReader.GetTestData("WrongPasswordMessage"))); }
public static string WithInvalidPhoneNumber() => TestDataReader.GetTestData("PhoneNumber");
public static string WithInvalidPassword() => TestDataReader.GetTestData("Password");
public static Destination WithWronDestination() { return(new Destination(TestDataReader.GetTestData("WrongDestination"), TestDataReader.GetTestData("EmptyDestination"), TestDataReader.GetTestData("WrongCity"))); }
public static PaymentData WithZeroSummPayment() { return(new PaymentData(TestDataReader.GetTestData("Surname") + " " + TestDataReader.GetTestData("Name") + " " + TestDataReader.GetTestData("Patronymic"), TestDataReader.GetTestData("ZeroPayment"), TestDataReader.GetTestData("Comment"))); }
public static Phone WithPhoneName() { return(new Phone(TestDataReader.GetTestData("PhoneName"))); }
public static Phone WithPhoneComparisonParameter() { return(new Phone(TestDataReader.GetTestData("PhoneName"), TestDataReader.GetTestData("ComparisonParameter"))); }
public static User WithFailBirthDay() { return(new User(TestDataReader.GetData("LastName"), TestDataReader.GetData("Name"), TestDataReader.GetData("MiddleName") , "12.12.2222", TestDataReader.GetData("Document"), TestDataReader.GetData("Mail"), TestDataReader.GetData("Phone"))); }
public static User WithFailDocument() { return(new User(TestDataReader.GetData("LastName"), TestDataReader.GetData("Name"), TestDataReader.GetData("MiddleName") , TestDataReader.GetData("BirthDay"), "0000000000", TestDataReader.GetData("Mail"), TestDataReader.GetData("Phone"))); }
public static User WithAllProperties() { return(new User(TestDataReader.GetData("LastName"), TestDataReader.GetData("Name"), TestDataReader.GetData("MiddleName") , TestDataReader.GetData("BirthDay"), TestDataReader.GetData("Document"), TestDataReader.GetData("Mail"), TestDataReader.GetData("Phone"))); }