public void GetRoutes() { RouteRepository routeRepository = new RouteRepository(); Route[] routes = routeRepository.GetAllRoutes(); Assert.IsTrue(routes != null); }
public void Should_Return_All_Routes() { using (var repos = new RouteRepository(DataFilePath)) { var result = repos.GetAllRoutes(); Assert.That(result.Count(t => t != null), Is.EqualTo(DataFileRowCountMinusHeader)); } }
public Route[] Get() { return(routeRepository.GetAllRoutes()); }