@Test public void equalsAndHashCode_samplingFlags() {

  equalsAndHashCode(
      () -> TraceContextOrSamplingFlags.create(SAMPLED),
      () -> TraceContextOrSamplingFlags.create(NOT_SAMPLED),
      () -> TraceContextOrSamplingFlags.create(context)
  );
}