### Question:
RunnableBase implements Runnable { public void destroy() { status.set(DESTROYED); }  void destroy(); boolean isDestroyed();  }### Answer:
@Test(timeout = TEST_TIMEOUT) public void destroy() throws Exception { CompletableFuture future = startRunnableBase(); assertTrue(runnableBase.isAlive()); runnableBase.destroy(); future.get(); assertTrue(runnableBase.isDestroyed()); }