public static TraceContextOrSamplingFlags create(TraceContext context) {
    return new TraceContextOrSamplingFlags(1, context, emptyList());
  }
@Test void equalsAndHashCode_samplingFlags() {
    equalsAndHashCode(
        () -> TraceContextOrSamplingFlags.create(SAMPLED),
        () -> TraceContextOrSamplingFlags.create(NOT_SAMPLED),
        () -> TraceContextOrSamplingFlags.create(context)
    );
  }