public void GetClients_GetClientsFromEmptyTable_ReturnsEmptyTable() { _dbSeeder.EmptyTables(); IClientDAL clientDAL = new ClientDAL(new DBService(new DbConnectionService(_connectionStringName))); IEnumerable <IClient> clientList = clientDAL.GetClients(); Assert.IsTrue(clientList.Count() == 0); }
public void GetCountries_GetCountriesFromEmptyTable_ReturnsEmptyTable() { _dbSeeder.EmptyTables(); ICountryDAL countryDAL = new CountryDAL(new DBService(new DbConnectionService(_connectionStringName))); IEnumerable <ICountry> countryList = countryDAL.GetCountries(); Assert.IsTrue(countryList.Count() == 0); }