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

            processor = Service.Resolve <IProductUpdatesProcessor>();
        }
コード例 #2
0
 /// <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));
 }
コード例 #3
0
 public ContactMergeProcessor(IRecombeeClientService recombeeClientService)
 {
     this.recombeeClientService = recombeeClientService;
 }