public void Setup() { _jsonHelper = Substitute.For <JsonHelper>(); _actionPatchService = Substitute.For <ActionPatchService>(); _actionPatch = Substitute.For <ActionPatch>(); _json = JsonConvert.SerializeObject(_actionPatch); }
public PatchActionHttpTriggerService(IActionPatchService actionPatchService, IDocumentDBProvider documentDbProvider) { _actionPatchService = actionPatchService; _documentDbProvider = documentDbProvider; }