@Test
public void testInvokeThrowsRpcException1() {

    URL url = URL.valueOf("remote://1.2.3.4/" + String.class.getName());
    MockInvoker mockInvoker = new MockInvoker(url, null);
    Assertions.assertThrows(RpcException.class,
            () -> mockInvoker.invoke(new RpcInvocation()));
}