@Test public void shared() {

  MutableSpan span = new MutableSpan();
  span.setShared();
  assertThat(span.shared()).isTrue();
  span.unsetShared();
  assertThat(span.shared()).isFalse();
  assertThat(span.flags).isZero();
}