@Test
public void testAddSysBaggage() throws Exception {

    SofaTracerSpanContext sofaTracerSpanContext1 = new SofaTracerSpanContext("traceId",
        "spanId", "parentId", false);
    sofaTracerSpanContext1.setSysBaggageItem("baggage1", "value1");
    sofaTracerSpanContext1.setSysBaggageItem("baggage2", "value2");
    //
    assertEquals("parentId", sofaTracerSpanContext1.getParentId());
    Map<String, String> baggage = sofaTracerSpanContext1.getSysBaggage();
    assertTrue(baggage.size() == 2);
    assertTrue(baggage.containsKey("baggage1") && baggage.containsValue("value1"));
    assertTrue(baggage.containsKey("baggage2") && baggage.containsValue("value2"));
}