@Test public void destroy() { taskAssigningService.start(solverDef, registry); taskAssigningService.destroy(); verify(solverHandler).destroy(); }
public void destroy() { if (solverHandler != null) { solverHandler.destroy(); } }
TaskAssigningService { public void destroy() { if (solverHandler != null) { solverHandler.destroy(); } } }
TaskAssigningService { public void destroy() { if (solverHandler != null) { solverHandler.destroy(); } } TaskAssigningService(TaskAssigningServiceConfig config); }
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(); }
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();  }