public async void CanGetPlanes() { // Arrange context.Planes.AddRange( Builder <Plane> .CreateListOfSize(100) .Build()); context.SaveChanges(); // Act var result = await planesRepository.GetPlanes(); // Assert Assert.Equal(100, result.Count()); }
public async void CanGetPlanes() { // Arrange context.Planes.AddRange( Builder <Plane> .CreateListOfSize(100) .Build()); context.SaveChanges(); // Act var result = await planesRepository.GetPlanes(); // Assert Assert.Equal(100, result.Count()); }