BlockingCommandCallback implements CommandCallback { public Semaphore getCompletionSemaphore() { return completionSemaphore; } BlockingCommandCallback( CommandCallback callback ); @Override void onResponse( final Response response, final CommandResult commandResult ); Semaphore getCompletionSemaphore(); CommandResult getCommandResult();  }
@Test public void testGetCompletionSemaphore() throws Exception { assertNotNull( blockingCommandCallback.getCompletionSemaphore() ); }