예제 #1
0
 public Route WithAllProperties()
 {
     return(new Route(TestDataReader.GetData("Departure"),
                      TestDataReader.GetData("Arrival"),
                      TestDataReader.GetData("LeaveDate")));
 }
예제 #2
0
 public Route WithEmptyDeparture()
 {
     return(new Route("", TestDataReader.GetData("Arrival"),
                      TestDataReader.GetData("LeaveDate")));
 }
예제 #3
0
 public Route WithEmptyLeaveData()
 {
     return(new Route(TestDataReader.GetData("Departure"),
                      TestDataReader.GetData("Arrival"),
                      ""));
 }
예제 #4
0
 public static FlightsModel OnlyArrivalCity()
 {
     return(new FlightsModel("", TestDataReader.GetData("ArrivalCity")));
 }
예제 #5
0
 public static FlightsModel WithAllProperties()
 {
     return(new FlightsModel(TestDataReader.GetData("DepartureCity"), TestDataReader.GetData("ArrivalCity")));
 }
예제 #6
0
 public Route WithAllProperties()
 {
     return(new Route(TestDataReader.GetData("OriginSurrogate"),
                      TestDataReader.GetData("DestinationSurrogate")));
 }
예제 #7
0
 public static FlightsModel OnlyDepartureCity()
 {
     return(new FlightsModel(TestDataReader.GetData("DepartureCity"), ""));
 }
 public static User ConclusionNameAndNewAccount()
 {
     return(new User("", "", TestDataReader.GetData("UserName").Value, TestDataReader.GetData("NewEmail").Value));
 }
 public static User ConclusionWrongPassword()
 {
     return(new User(TestDataReader.GetData("NotCorrectPassword").Value));
 }
예제 #10
0
 public static User WithAllProperties()
 {
     return(new User(TestDataReader.GetData("Login").Value, TestDataReader.GetData("Password").Value, "", ""));
 }
 public static Errors WithAllPropertiesErrors()
 {
     return(new Errors(TestDataReader.GetData("ErrorMessage")));
 }
예제 #12
0
 public User LastNameVelocityNumberAndPasswordProperties()
 {
     return(new User(TestDataReader.GetData("LastName"),
                     TestDataReader.GetData("VelocityNumber"),
                     TestDataReader.GetData("Password")));
 }