@Test
    public void testCarryWithResponse() {
        SofaResponse sofaResponse = new SofaResponse();
        RpcInvokeContext context = RpcInvokeContext.getContext();
        context.putResponseBaggage(KEY, VALUE);
        BaggageResolver.carryWithResponse(context, sofaResponse);
        String baggage = (String) sofaResponse.getResponseProp(RemotingConstants.RPC_RESPONSE_BAGGAGE
            + "." + KEY);
        assertNotNull(baggage);
        assertEquals(VALUE, baggage);
    }
@author <a href=mailto:orezsilence@163.com>zhangchengxi</a>
core/api/src/test/java/com/alipay/sofa/rpc/context/BaggageResolverTest.java