@Test
public void then_callListenerOnActorThread_withListener() throws Exception {

    PromiseImpl<Object> promise = new PromiseImpl<>(mResult, mCleaner);
    promise.then(mActorThread, mListener);
    Mockito.verify(mActorThread).bind(Mockito.same(ResultListener.class), mCaptor.capture());
    Mockito.verify(mProxy).onResult(mResult);
    mCaptor.getValue().onResult(mResult);
    Mockito.verify(mListener).onResult(mResult);
}