RunnableAsyncTaskAdaptor extends SafeAsyncTask<Void> { public Void call() throws Exception { runnable.run(); return null; } RunnableAsyncTaskAdaptor(Runnable runnable);  RunnableAsyncTaskAdaptor(Handler handler, Runnable runnable); Void call();  }
@Test public void test() throws Exception { reset(runnable); runnable.run(); runnableAdaptor.call(); verify(runnable, Mockito.atLeastOnce()).run(); }