@Test public void whenWaitEndOfTransferWithoutStartTransferThenOK() throws WorkerspaceQueueException { HandlerIO handlerIO = mock(HandlerIOImpl.class); AsyncWorkspaceTransfer async = new AsyncWorkspaceTransfer(handlerIO); async.waitEndOfTransfer(); }
public void waitEndOfTransfer() throws WorkerspaceQueueException { if (null != runner) { this.runner.join(); this.runner = null; } }
AsyncWorkspaceTransfer { public void waitEndOfTransfer() throws WorkerspaceQueueException { if (null != runner) { this.runner.join(); this.runner = null; } } }
AsyncWorkspaceTransfer { public void waitEndOfTransfer() throws WorkerspaceQueueException { if (null != runner) { this.runner.join(); this.runner = null; } } AsyncWorkspaceTransfer(HandlerIO handlerAsyncIO); }
AsyncWorkspaceTransfer { public void waitEndOfTransfer() throws WorkerspaceQueueException { if (null != runner) { this.runner.join(); this.runner = null; } } AsyncWorkspaceTransfer(HandlerIO handlerAsyncIO); void transfer(WorkspaceQueue workspaceQueue); void startTransfer(int queueSize); void waitEndOfTransfer(); }
AsyncWorkspaceTransfer { public void waitEndOfTransfer() throws WorkerspaceQueueException { if (null != runner) { this.runner.join(); this.runner = null; } } AsyncWorkspaceTransfer(HandlerIO handlerAsyncIO); void transfer(WorkspaceQueue workspaceQueue); void startTransfer(int queueSize); void waitEndOfTransfer();  }