public async Task PartService_ShouldGetCorrectParts() { //Arrange var db = DatabaseInitializer.GetDbForPartService(); var service = new PartService(db); //Act var parts = await service.All(); //Assert parts.Should().HaveCount(2); }