Class ExemplarDataAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<ExemplarDataAssert,io.opentelemetry.sdk.metrics.data.ExemplarData>
io.opentelemetry.sdk.testing.assertj.ExemplarDataAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<ExemplarDataAssert,,io.opentelemetry.sdk.metrics.data.ExemplarData> org.assertj.core.api.Descriptable<ExemplarDataAssert>,org.assertj.core.api.ExtensionPoints<ExemplarDataAssert,io.opentelemetry.sdk.metrics.data.ExemplarData>
public class ExemplarDataAssert
extends org.assertj.core.api.AbstractAssert<ExemplarDataAssert,io.opentelemetry.sdk.metrics.data.ExemplarData>
Test assertions for
ExemplarData.-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedExemplarDataAssert(io.opentelemetry.sdk.metrics.data.ExemplarData actual) -
Method Summary
Modifier and TypeMethodDescriptionio.opentelemetry.sdk.testing.assertj.AttributesAssertReturns convenience API to assert against thefilteredAttributesfield.hasEpochNanos(long expected) Ensures theepochNanosfield matches the expected value.hasFilteredAttributes(io.opentelemetry.api.common.Attributes expected) Ensures thefitleredAttributesfield matches the expected value.Ensures thespanIdfield matches the expected value.hasTraceId(String expected) Ensures thetraceIdfield matches the expected value.hasValue(double expected) Ensures thevaluefield matches the expected value.Methods inherited from class org.assertj.core.api.AbstractAssert
asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs
-
Constructor Details
-
ExemplarDataAssert
protected ExemplarDataAssert(io.opentelemetry.sdk.metrics.data.ExemplarData actual)
-
-
Method Details
-
hasEpochNanos
Ensures theepochNanosfield matches the expected value. -
hasSpanId
Ensures thespanIdfield matches the expected value. -
hasTraceId
Ensures thetraceIdfield matches the expected value. -
hasValue
Ensures thevaluefield matches the expected value. -
hasFilteredAttributes
Ensures thefitleredAttributesfield matches the expected value. -
filteredAttributes
public io.opentelemetry.sdk.testing.assertj.AttributesAssert filteredAttributes()Returns convenience API to assert against thefilteredAttributesfield.
-