Beispiel #1
0
        public void SetUp()
        {
            clientService = Substitute.For <IRecombeeClientService>();
            Service.Use <IRecombeeClientService>(clientService);

            processor = Service.Resolve <IProductUpdatesProcessor>();
        }
 /// <summary>
 /// Creates an instance of the <see cref="ProductUpdatesProcessor"/> class.
 /// </summary>
 /// <param name="recombeeClientService">Client service.</param>
 public ProductUpdatesProcessor(IRecombeeClientService recombeeClientService)
 {
     this.recombeeClientService = recombeeClientService ?? throw new ArgumentNullException(nameof(recombeeClientService));
 }
 public ContactMergeProcessor(IRecombeeClientService recombeeClientService)
 {
     this.recombeeClientService = recombeeClientService;
 }