Search in sources :

Example 1 with AttachmentValueString

use of io.opencensus.metrics.data.AttachmentValue.AttachmentValueString in project instrumentation-java by census-instrumentation.

the class AttachmentValueTest method getValue.

@Test
public void getValue() {
    AttachmentValueString attachmentValue = AttachmentValueString.create("value");
    assertThat(attachmentValue.getValue()).isEqualTo("value");
}
Also used : AttachmentValueString(io.opencensus.metrics.data.AttachmentValue.AttachmentValueString) Test(org.junit.Test)

Aggregations

AttachmentValueString (io.opencensus.metrics.data.AttachmentValue.AttachmentValueString)1 Test (org.junit.Test)1