@Test
    public void testInterestEmptyException() {
        MultiInterestUserProcessor userProcessor = new SyncMultiInterestUserProcessor() {
            @Override
            public Object handleRequest(BizContext bizCtx, Object request) throws Exception {
                return request;
            }

            @Override
            public List<String> multiInterest() {
                return new ArrayList<String>();
            }

        };

        try {
            UserProcessorRegisterHelper.registerUserProcessor(userProcessor, userProcessors);
        } catch (RuntimeException e) {
        }

        Assert.assertEquals(0, userProcessors.size());
    }
@antuor muyun.cyt (muyun.cyt@antfin.com)  2018/7/5   4:51 PM
src/test/java/com/alipay/remoting/rpc/userprocessor/UserProcessorRegisterHelperTest.java