@Test
public void testAsyncHandleNullResponse() throws Exception {

    rpcFuture.handleResponse(null);
    verify(rpcCallback).fail(throwableCaptor.capture());
    Throwable t = throwableCaptor.getValue();
    assertThat(t, instanceOf(RpcException.class));
    verify(interceptor).handleResponse(null);
}