ErrorParser extends Tag<Throwable> { public final void error(Throwable error, SpanCustomizer customizer) { error(error, (Object) customizer); } ErrorParser(); final void error(Throwable error, SpanCustomizer customizer); final void error(Throwable error, MutableSpan span); static final ErrorParser NOOP; }
@Test public void error_noop_customizer() { ErrorParser.NOOP.error(new RuntimeException("this cake is a lie"), customizer); verifyNoMoreInteractions(customizer); }
@Test public void error_noop_scopedSpan() { ErrorParser.NOOP.error(new RuntimeException("this cake is a lie"), scopedSpan); verifyNoMoreInteractions(scopedSpan); }