use of io.opencensus.tags.TagContext in project instrumentation-java by census-instrumentation.
the class TaggerImplTest method withTagContext_SkipNullTag.
@Test
public void withTagContext_SkipNullTag() {
TagContext tagContextWithNullTag = new SimpleTagContext(TAG1, null, TAG2);
TagContext result = getResultOfWithTagContext(tagContextWithNullTag);
assertThat(tagContextToList(result)).containsExactly(TAG1, TAG2);
}
Aggregations