ExtensionContext { void handle(AbstractSpan span) { if (this.skipAnalysis) { span.skipAnalysis(); } }  ExtensionContext clone(); @Override boolean equals(Object o); @Override int hashCode();  }
@Test public void testHandle() { final ExtensionContext context = new ExtensionContext(); context.deserialize("1"); NoopSpan span = Mockito.mock(NoopSpan.class); context.handle(span); verify(span, times(1)).skipAnalysis(); context.deserialize("0"); span = Mockito.mock(NoopSpan.class); context.handle(span); verify(span, times(0)).skipAnalysis(); }