BooleanTag extends AbstractTag<Boolean> { @Override public void set(Span span, Boolean tagValue) { span.setTag(super.key, tagValue); } BooleanTag(String key); @Override void set(Span span, Boolean tagValue);  }
@Test public void testSetBoolean() { Boolean value = true; String key = "expected.key"; Span span = mock(Span.class); BooleanTag tag = new BooleanTag(key); tag.set(span, value); verify(span).setTag(key, value); }