MessageBase implements Message<T, R> { @NonNull @Override public ActorInvokeException exception() { return mExceptionTemplate; } protected  MessageBase(@NonNull ActorInvokeException exception); @NonNull @Override ActorInvokeException exception();  }
@Test public void exception_notNull_getException() { MessageBase message = new MockMessageBase(mException); Assert.assertSame(mException, message.exception()); }