@Test
public void sendTransaction_increaseLastId_validHandler() {

    ActorHandlerBase handler = createHandler(ActorHandlerBase.NO_DELAY);
    Assert.assertTrue(handler.sendTransaction(Transaction.<Object>obtain(mImpl, mMessage, mFailureHandler)));
    Assert.assertTrue(handler.sendTransaction(Transaction.<Object>obtain(mImpl, mMessage, mFailureHandler)));
    Mockito.verify(handler, Mockito.times(2)).sendMessage(mMessageCaptor.capture());
    List<android.os.Message> messages = mMessageCaptor.getAllValues();
    Assert.assertEquals(2, messages.size());
    Assert.assertNotEquals(messages.get(0).arg1, messages.get(1).arg1);
}