コード例 #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);
        }