public static BookingInfo RightBookingInfo() { return(new BookingInfo( TestDataReader.GetData("Name"), TestDataReader.GetData("Phone"), TestDataReader.GetData("City"), TestDataReader.GetData("DateFrom"), TestDataReader.GetData("DateTo") )); }
public static BookingInfo WrongBookingInfo() { return(new BookingInfo( TestDataReader.GetData("IncorrectName"), TestDataReader.GetData("Phone"), TestDataReader.GetData("IncorrectCity"), TestDataReader.GetData("IncorrectDateFrom"), TestDataReader.GetData("IncorrectDateTo") )); }
public static Reservation WithReservationProperties() { return(new Reservation(TestDataReader.GetData("ReservationCode"), TestDataReader.GetData("PassengerName"))); }
public static SignIn WithUserProperties() { return(new SignIn(TestDataReader.GetData("MemberId"), TestDataReader.GetData("Password"))); }
public static Search WithAllProperties() { return(new Search(TestDataReader.GetData("DepartureCity"), TestDataReader.GetData("ArrivalCity"))); }
public static Route WithAllProperties() { return(new Route(TestDataReader.GetData("DepartureCity"), TestDataReader.GetData("ArrivalCity"))); }
public static Route EmptyArrivalCity() { return(new Route(TestDataReader.GetData("DepartureCity"), "")); }
public static Route EmptyDepartureCity() { return(new Route("", TestDataReader.GetData("ArrivalCity"))); }
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"), "", "")); }
public static Passanger OnlyDateofBirthChild() { return(new Passanger("", "", TestDataReader.GetData("DateOfBirthChild"), "", "", "", "")); }
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"))); }