@Override
    public ExecuteContext before(ExecuteContext context) {
        Object[] arguments = context.getArguments();
        String application = DubboReflectUtils.getParameter(arguments[0], APPLICATION_KEY);

        // 保存接口与服务名之间的映射
        DubboCache.INSTANCE.putApplication(DubboReflectUtils.getServiceInterface(arguments[0]), application);
        return context;
    }
@Test
    public void testBefore() {
        Object[] arguments = new Object[1];
        arguments[0] = APACHE_URL;
        ExecuteContext context = ExecuteContext.forMemberMethod(new Object(), null,
                arguments, null, null);
        interceptor.before(context);
        Assert.assertEquals(SERVICE_NAME, DubboCache.INSTANCE.getApplication(SERVICE_INTERFACE));
    }