public void Setup() { _jsonHelper = Substitute.For <JsonHelper>(); _customerPatchService = Substitute.For <CustomerPatchService>(); _customerPatch = Substitute.For <CustomerPatch>(); _json = JsonConvert.SerializeObject(_customerPatch); }
public PatchCustomerHttpTriggerService(ICustomerPatchService customerPatchService, IDocumentDBProvider documentDbProvider) { _documentDbProvider = documentDbProvider; _customerPatchService = customerPatchService; }