Example #1
0
        public void SetUp()
        {
            var prodRef    = A.Fake <IProductsReference>();
            var measureRef = A.Fake <IMeasureUnitsReference>();

            validator = new ProductValidator(prodRef, measureRef);
        }
Example #2
0
 public ProviderProcessorV2(ProductValidator validator)
 {
     this.validator = validator;
     repo           = new ProviderRepository();
 }