### Question:
TaskAssigningService { public void destroy() { if (solverHandler != null) { solverHandler.destroy(); } } TaskAssigningService(TaskAssigningServiceConfig config); void setDelegate(TaskAssigningRuntimeDelegate delegate); void setUserSystemService(UserSystemService userSystemService); void setExecutorService(ScheduledExecutorService executorService); void start(SolverDef solverDef, KieServerRegistry registry); void destroy();  }### Answer:
@Test public void destroy() { taskAssigningService.start(solverDef, registry); taskAssigningService.destroy(); verify(solverHandler).destroy(); }