@Test
public void test() throws Exception {

    // given
    TraceCommonService traceCommonService = mock(TraceCommonService.class);
    TraceJsonService traceJsonService = new TraceJsonService(traceCommonService);
    // when
    String json = traceJsonService.getHeader("",
            ImmutableHeaderRequest.builder()
                    .traceId("1234")
                    .build());
    // then
    assertThat(json).isEqualTo("{\"expired\":true}");
}