### Question:
UiThread { public static void postDelayed(Runnable runnable, long millis) { handler.postDelayed(runnable, millis); }  static void post(Runnable runnable); static void postDelayed(Runnable runnable, long millis);  }### Answer:
@Test public void postDelayedOnUiThread() throws Exception { Runnable task = mock(Runnable.class); UiThread.postDelayed(task, 1000); verifyZeroInteractions(task); ShadowLooper.runUiThreadTasksIncludingDelayedTasks(); verify(task, times(1)).run(); }