public ProductStatusesTests(
     ICreate create,
     IDefaultRequestHeadersService defaultRequestHeadersService,
     IProductStatusesClient productStatusesClient)
 {
     _create = create;
     _defaultRequestHeadersService = defaultRequestHeadersService;
     _productStatusesClient        = productStatusesClient;
 }
Esempio n. 2
0
 public ProductStatusBuilder(
     IDefaultRequestHeadersService defaultRequestHeadersService,
     IProductStatusesClient productStatusesClient)
 {
     _productStatusesClient        = productStatusesClient;
     _defaultRequestHeadersService = defaultRequestHeadersService;
     _status = new ProductStatus
     {
         Id        = Guid.NewGuid(),
         Name      = "Test".WithGuid(),
         IsDeleted = false
     };
 }