@Test
public void execute_delegatesToUiHandler() throws Exception {

    // Arrange
    Runnable runnable = new Runnable() {
        @Override
        public void run() {
            // no-op
        }
    };
    ArgumentCaptor<Runnable> ac = ArgumentCaptor.forClass(Runnable.class);
    // Act
    SUT.post(runnable);
    // Assert
    verify(mUiHandlerMock, times(1)).post(ac.capture());
    assertThat(ac.getValue(), is(runnable));
}