public void Setup()
        {
            _productOptions          = SetupProductOptions();
            _productOptionRepository = SetupProductOptionsRepository();
            var mapperConfig = new MapperConfiguration(cfg =>
                                                       cfg.AddProfiles(new[] { "refactor-me.Logic", "refactor-me.Data" }));

            _mapper               = new Mapper(mapperConfig);
            _persistanceFactory   = new Mock <IPersistanceFactory>().Object;
            _productOptionLibrary = new ProductOptionLibrary(_persistanceFactory, _mapper, _productOptionRepository);
        }
 public ProductOptionsController(IProductOptionLibrary productOptionLibrary)
 {
     _productOptionLibrary = productOptionLibrary;
 }