@Test
public void sendTransaction_sendMessage_validHandler() {

    ActorHandlerBase handler = createHandler(ActorHandlerBase.NO_DELAY);
    Transaction transaction = Transaction.<Object>obtain(mImpl, mMessage, mFailureHandler);
    boolean result = handler.sendTransaction(transaction);
    Assert.assertTrue(result);
    Mockito.verify(handler).sendMessage(mMessageCaptor.capture());
    android.os.Message message = mMessageCaptor.getValue();
    Assert.assertNotNull(message);
    Assert.assertEquals(ActorHandlerBase.MSG_TRANSACTION, message.what);
    Assert.assertSame(transaction, message.obj);
}