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