public FeatureTypeInfoRepository(IGeoGateway gateway, IFeatureTypeInfoBuilderPrototype builderPrototype)
        {
            if (gateway == null)
                throw new ArgumentNullException("gateway", "gateway cannot be null");
            if (builderPrototype == null)
                throw new ArgumentNullException("builderPrototype", "builderPrototype cannot be null");

            this.gateway = gateway;
            this.builderPrototype = builderPrototype;
        }
        public FeatureTypeInfoRepository(IGeoGateway gateway, IFeatureTypeInfoBuilderPrototype builderPrototype)
        {
            if (gateway == null)
            {
                throw new ArgumentNullException("gateway", "gateway cannot be null");
            }
            if (builderPrototype == null)
            {
                throw new ArgumentNullException("builderPrototype", "builderPrototype cannot be null");
            }

            this.gateway          = gateway;
            this.builderPrototype = builderPrototype;
        }
 public void TearDown()
 {
     gateway = null;
     repository = null;
     builderPrototype = null;
 }
 public void Setup()
 {
     gateway = Mock.Create<IGeoGateway>();
     builderPrototype = new FeatureTypeInfoBuilder();
     repository = new FeatureTypeInfoRepository(gateway, builderPrototype);
 }