public void CanGetTerritories() { ITerritoriesWcfService territoriesWcfService = new TerritoriesWcfService(CreateMockTerritoryRepository()); IList <TerritoryDto> territoryDtos = territoriesWcfService.GetTerritories(); territoryDtos.Count.ShouldEqual(2); }
public void CanGetTerritories() { ITerritoriesWcfService territoriesWcfService = new TerritoriesWcfService(CreateMockTerritoryRepository()); IList<TerritoryDto> territoryDtos = territoriesWcfService.GetTerritories(); territoryDtos.Count.ShouldEqual(2); }