Exemplo n.º 1
0
 private SupplierController CreateController()
 {
     var result = new SupplierController(_suppliersService.Object, null);
     return TestControllerHelpers.AddUserToController(result);
 }
 private SupplierController CreateController()
 {
     var result = new SupplierController(null, _hazardousSubstanceService.Object);
     return TestControllerHelpers.AddUserToController(result);
 }