public void ShouldRetriveFilteredEagerInpectionsAsync() { using (var context = InitAndGetDbContext()) { //Arrange var repositori = new InspectionRepository(context); //Act IEnumerable <Inspection> result = repositori.GetFilteredEagerAsync(o => o.Status == testStatus).Result; //Assert Assert.Single(result); } }