Example #1
0
        public ProductColorMappingsServicesTests()
        {
            this.siteSettingsProvider = Substitute.For <ISiteSettingsProvider>();
            this.service = new ProductColorMappingsServices(this.siteSettingsProvider);

            this.fixture = new Fixture();
        }
Example #2
0
        public ProductColorsContextExtension(
            IConfigurationResolver configurationResolver,
            IProductColorMappingsServices productColorMappingsServices)
            : base(configurationResolver)
        {
            Assert.ArgumentNotNull(productColorMappingsServices, nameof(productColorMappingsServices));

            this.productColorMappingsServices = productColorMappingsServices;
        }