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