assertNull(caller.result);
}
/** Test special error-handling behavior. */
@Test public void testSpecialErrorHandling() {
Throwable exception = new NotImplementedException("Whatever");
Caller caller = new Caller();
caller.onUnhandledError(exception);
assertEquals("generateGeneralRpcError", caller.error.getMessage());
assertNull(caller.statusCode);