@Test
public void getOrCreate_splitsSharedServerDataFromClient() {

  TraceContext context2 = context.toBuilder().shared(true).build();
  assertThat(pendingSpans.getOrCreate(null, context, false)).isNotEqualTo(
    pendingSpans.getOrCreate(null, context2, false));
}