public static Route WithAllProperties()
 {
     return(new Route(TestDataReader.GetData("DepartureCity"), TestDataReader.GetData("ArrivalCity")));
 }
Exemple #2
0
 public static Search WithAllProperties()
 {
     return(new Search(TestDataReader.GetData("DepartureCity"), TestDataReader.GetData("ArrivalCity")));
 }
 public static Route EmptyDepartureCity()
 {
     return(new Route("", TestDataReader.GetData("ArrivalCity")));
 }
 public static Route EmptyArrivalCity()
 {
     return(new Route(TestDataReader.GetData("DepartureCity"), ""));
 }
 public static Route OnlyEmail()
 {
     return(new Route("", "", TestDataReader.GetData("Email"), ""));
 }
 public static Route OnlyDepartureCity()
 {
     return(new Route(TestDataReader.GetData("DepartureCity"), "", "", ""));
 }
 public static Route OnlyArrivalCity()
 {
     return(new Route("", TestDataReader.GetData("ArrivalCity"), "", ""));
 }
Exemple #8
0
 public static Passanger OnlyDateofBirthChild()
 {
     return(new Passanger("", "", TestDataReader.GetData("DateOfBirthChild"), "", "", "", ""));
 }
Exemple #9
0
 public static Passanger WithoutPhoneNumber()
 {
     return(new Passanger(TestDataReader.GetData("FirstName"), TestDataReader.GetData("LastName"), TestDataReader.GetData("DateOfBirth"), TestDataReader.GetData("DocumentNumber"), "",
                          TestDataReader.GetData("Email"), TestDataReader.GetData("ConfirmEmail")));
 }