### Question:
TaskAssigningRuntimeDelegate { public PlanningExecutionResult executePlanning(List<PlanningItem> planningItems, String userId) { return runtimeClient.executePlanning(new PlanningItemList(planningItems), userId); } TaskAssigningRuntimeDelegate(final TaskAssigningRuntimeClient runtimeClient); FindTasksResult findTasks(List<Status> status, LocalDateTime fromLastModificationDate, TaskInputVariablesReadMode inputVariablesReadMode); PlanningExecutionResult executePlanning(List<PlanningItem> planningItems, String userId);  }### Answer:
@Test public void executePlanning() { PlanningItem item = new PlanningItem(); List<PlanningItem> planningItems = Collections.singletonList(item); String targetUser = "TARGET_USER"; delegate.executePlanning(planningItems, targetUser); verify(runtimeClient).executePlanning(planCaptor.capture(), eq(targetUser)); assertEquals(planningItems, planCaptor.getValue().getItems()); }