@Test
    public void testSyncNoProcessor() {
        server.registerUserProcessor(new SimpleServerUserProcessor());
        try {
            client.invokeSync(addr, "No processor for String now!", 3000);
        } catch (Exception e) {
            Assert.assertEquals(InvokeServerException.class, e.getClass());
        }
    }
exception test

@author xiaomin.cxm
@version $Id: ExceptionTest.java, v 0.1 Apr 6, 2016 9:41:53 PM xiaomin.cxm Exp $
src/test/java/com/alipay/remoting/rpc/exception/ExceptionTest.java