Пример #1
0
 public static InaccessibleLocation WithInaccessibleLocation()
 {
     return(new InaccessibleLocation(TestDataReader.GetTestData("InaccessibleStation")));
 }
Пример #2
0
 public static UserData WithLogIn()
 {
     return(new UserData(TestDataReader.GetTestData("UserName"), TestDataReader.GetTestData("Password")));
 }
Пример #3
0
 public static Location WithFilledFields()
 {
     return(new Location(TestDataReader.GetTestData("PickUpLocation"), TestDataReader.GetTestData("ReturnLocation")));
 }
Пример #4
0
 public static InvalidPhoneNumber WithInvalidPhoneNumber()
 {
     return(new InvalidPhoneNumber(TestDataReader.GetTestData("PhoneNumber")));
 }
Пример #5
0
 public static UserData FillUser()
 {
     return(new UserData(TestDataReader.GetTestData("UserName"), TestDataReader.GetTestData("UserSurname"), TestDataReader.GetTestData("Email")));
 }
Пример #6
0
 public static UserData FillUserForIncorrectEmailCategory()
 {
     return(new UserData(TestDataReader.GetTestData("UserName"), TestDataReader.GetTestData("UserSurname"), TestDataReader.GetTestData("IncorrectEmail")));
 }
Пример #7
0
 public static UserData FillUserForRussianWordsCategory()
 {
     return(new UserData(TestDataReader.GetTestData("UserNameRussianWords"), TestDataReader.GetTestData("UserSurnameRussianWords"), TestDataReader.GetTestData("Email")));
 }
Пример #8
0
 public static UserData FillUserForTooLongCategory()
 {
     return(new UserData(TestDataReader.GetTestData("UserNameTooLong"), TestDataReader.GetTestData("UserSurnameTooLong"), TestDataReader.GetTestData("Email")));
 }