@Override
    public SofaResponse invoke(FilterInvoker invoker, SofaRequest request) throws SofaRpcException {
        request.getMethodArgs()[0] = request.getMethodArgs()[0] + "_q2";
        SofaResponse response = invoker.invoke(request);
        if (!request.isAsync()) {
            response.setAppResponse(response.getAppResponse() + "_s2");
        }
        Map<String, Object> context = invoker.getConfigContext();
        Assert.assertNotNull(context);
        invoker.getMethodParam(request.getMethodName(), "invokeType");
        invoker.getStringMethodParam(request.getMethodName(), "invokeType", "sync");
        invoker.getIntMethodParam(request.getMethodName(), "timeout", 3000);
        invoker.getBooleanMethodParam(request.getMethodName(), "cache", false);
        return response;
    }
@author <a href="mailto:zhanggeng.zg@antfin.com">GengZhang</a>
core/api/src/test/java/com/alipay/sofa/rpc/filter/TestChainFilter2.java