@SuppressWarnings("unchecked")
@Test
public void sendTransaction_sendToHandler_initialState() {

    DefaultActorThread thread = createThread();
    Transaction transaction = Transaction.<Object>obtain(mImpl, mMessage, mFailureHandler);
    thread.sendTransaction(transaction);
    Assert.assertNotNull(thread.mHandler);
    Mockito.verify(thread.mHandler).sendTransaction(transaction);
}