@Test
public void testGetSysSerializedBaggage() {

    SofaTracerSpanContext sofaTracerSpanContext = new SofaTracerSpanContext("traceId",
        "spanId", "parentId", false);
    Map<String, String> sysBaggage = new HashMap<String, String>();
    sysBaggage.put("key", "value");
    sysBaggage.put("key1", "value1");
    sysBaggage.put("key2", "value2");
    sysBaggage.put("key3", "value3");
    sysBaggage.put("key4", "value4");
    sofaTracerSpanContext.addSysBaggage(sysBaggage);
    String stringBaggage = sofaTracerSpanContext.getSysSerializedBaggage();
    SofaTracerSpanContext sofaTracerSpanContext1 = new SofaTracerSpanContext("11", "11", "11",
        false);
    sofaTracerSpanContext1.deserializeSysBaggage(stringBaggage);
    assertEquals("\n" + stringBaggage, sysBaggage, sofaTracerSpanContext1.getSysBaggage());
}