public async Task GetAllShouldReturnZeroFeatures() { // Arrange var featuresService = new FeaturesService(_db, new Settings()); // Act var features = await featuresService.GetAll(); // Assert features.ShouldBeEmpty(); }
public async Task GetAllShouldReturnFiveFeatures() { // Arrange InitializeFeaturesData(); var featuresService = new FeaturesService(_db, new Settings()); // Act var features = await featuresService.GetAll(); // Assert features.Count.ShouldBe(5); }