public void ShouldRetriveAllEagerInpections() { using (var context = InitAndGetDbContext()) { //Arrange var repositori = new InspectionRepository(context); //Act IEnumerable <Inspection> result = repositori.GetAllEager(); //Assert Assert.Equal(3, result.Count()); } }