public IEnumerable <SchedulePlan> GetAllSchedulePlan() { ReadSchedule readSchedule = new ReadSchedule(); // var result=JsonConvert.SerializeObject(readSchedule.getAll()); return(readSchedule.getAll()); }
public void GetFlightExpensiveThan(decimal price) { ReadSchedule readSchedule = new ReadSchedule(); var allSchedules = readSchedule.getAll(); Assert.True(allSchedules.Max(x => x.Price) > price); }
public void DataIsType() { ReadSchedule readSchedule = new ReadSchedule(); Assert.IsType <List <SchedulePlan> >(readSchedule.getAll()); }
public void DataNotNull() { ReadSchedule readSchedule = new ReadSchedule(); Assert.NotNull(readSchedule.getAll()); }