示例#1
0
        public void CanGetTerritories()
        {
            ITerritoriesWcfService territoriesWcfService =
                new TerritoriesWcfService(CreateMockTerritoryRepository());

            IList <TerritoryDto> territoryDtos = territoriesWcfService.GetTerritories();

            territoryDtos.Count.ShouldEqual(2);
        }
示例#2
0
        public void CanGetTerritories()
        {
            ITerritoriesWcfService territoriesWcfService =
                new TerritoriesWcfService(CreateMockTerritoryRepository());

            IList<TerritoryDto> territoryDtos = territoriesWcfService.GetTerritories();

            territoryDtos.Count.ShouldEqual(2);
        }