Example #1
0
 public static string WithInvalidEmail() => TestDataReader.GetTestData("Email");
Example #2
0
 public static User WithLogin()
 {
     return(new User(TestDataReader.GetTestData("UserName"),
                     TestDataReader.GetTestData("UserPassword"),
                     TestDataReader.GetTestData("WrongPasswordMessage")));
 }
Example #3
0
 public static string WithInvalidPhoneNumber() => TestDataReader.GetTestData("PhoneNumber");
Example #4
0
 public static string WithInvalidPassword() => TestDataReader.GetTestData("Password");
Example #5
0
 public static Destination WithWronDestination()
 {
     return(new Destination(TestDataReader.GetTestData("WrongDestination"), TestDataReader.GetTestData("EmptyDestination"), TestDataReader.GetTestData("WrongCity")));
 }
Example #6
0
 public static PaymentData WithZeroSummPayment()
 {
     return(new PaymentData(TestDataReader.GetTestData("Surname") + " " + TestDataReader.GetTestData("Name") + " " + TestDataReader.GetTestData("Patronymic"), TestDataReader.GetTestData("ZeroPayment"), TestDataReader.GetTestData("Comment")));
 }
Example #7
0
 public static Phone WithPhoneName()
 {
     return(new Phone(TestDataReader.GetTestData("PhoneName")));
 }
Example #8
0
 public static Phone WithPhoneComparisonParameter()
 {
     return(new Phone(TestDataReader.GetTestData("PhoneName"), TestDataReader.GetTestData("ComparisonParameter")));
 }
Example #9
0
 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")));
 }
Example #10
0
 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")));
 }
Example #11
0
 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")));
 }