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