public void should_Get_By_Id() { var car = _testCarRepository.GetAll(); Assert.NotNull(car); Console.WriteLine(car); }
public void should_Get_All() { var cars = _testCarRepository.GetAll().ToList(); Assert.True(cars.Count > 0); foreach (var car in cars) { Console.WriteLine(car); } }