@Test
public void handleMessage_takePoisonPill_methodTransaction() {

    ActorHandlerBase handler = createHandler(60000);
    Transaction transaction = Transaction.<Object>obtain(mImpl, mMessage, mFailureHandler);
    android.os.Message message = android.os.Message.obtain(handler, ActorHandlerBase.MSG_TRANSACTION,
            10, 0, transaction);
    handler.handleMessage(message);
    Mockito.verify(handler).removeMessages(ActorHandlerBase.MSG_POISON_PILL);
    Mockito.verify(handler).sendMessageDelayed(mMessageCaptor.capture(), mTimeoutCaptor.capture());
    Assert.assertEquals(60000L, (long) mTimeoutCaptor.getValue());
    android.os.Message poisonPill = mMessageCaptor.getValue();
    Assert.assertNotNull(poisonPill);
    Assert.assertEquals(ActorHandlerBase.MSG_POISON_PILL, poisonPill.what);
    Assert.assertEquals(10, poisonPill.arg1);
}