コード例 #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"), ""));
 }
コード例 #8
0
 public static User ConclusionNameAndNewAccount()
 {
     return(new User("", "", TestDataReader.GetData("UserName").Value, TestDataReader.GetData("NewEmail").Value));
 }
コード例 #9
0
 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, "", ""));
 }
コード例 #11
0
 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")));
 }