diff --git a/micrometer-tracing-tests/micrometer-tracing-test/src/main/java/io/micrometer/tracing/test/simple/TracingAssertions.java b/micrometer-tracing-tests/micrometer-tracing-test/src/main/java/io/micrometer/tracing/test/simple/TracingAssertions.java new file mode 100644 index 00000000..96102e72 --- /dev/null +++ b/micrometer-tracing-tests/micrometer-tracing-test/src/main/java/io/micrometer/tracing/test/simple/TracingAssertions.java @@ -0,0 +1,28 @@ +package io.micrometer.tracing.test.simple; + +import java.util.Collection; + +import io.micrometer.tracing.exporter.FinishedSpan; + +/** + * Entry point assertions. + * + * @author Tadaya Tsuyukubo + * @since 1.0.0 + */ +public class TracingAssertions { + + @SuppressWarnings("rawtypes") + public static SpanAssert assertThat(FinishedSpan actual) { + return new SpanAssert(actual); + } + + public static SpansAssert assertThat(Collection actual) { + return new SpansAssert(actual); + } + + public static TracerAssert assertThat(SimpleTracer actual) { + return new TracerAssert(actual); + } + +}