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