Class EventDataAssert

java.lang.Object
org.assertj.core.api.AbstractAssert<EventDataAssert,io.opentelemetry.sdk.trace.data.EventData>
io.opentelemetry.sdk.testing.assertj.EventDataAssert
All Implemented Interfaces:
org.assertj.core.api.Assert<EventDataAssert,io.opentelemetry.sdk.trace.data.EventData>, org.assertj.core.api.Descriptable<EventDataAssert>, org.assertj.core.api.ExtensionPoints<EventDataAssert,io.opentelemetry.sdk.trace.data.EventData>

public final class EventDataAssert extends org.assertj.core.api.AbstractAssert<EventDataAssert,io.opentelemetry.sdk.trace.data.EventData>
Assertions for EventData.
  • Field Summary

    Fields inherited from class org.assertj.core.api.AbstractAssert

    actual, info, myself, objects, throwUnsupportedExceptionOnEquals
  • Method Summary

    Modifier and Type
    Method
    Description
    hasAttributes(io.opentelemetry.api.common.Attributes attributes)
    Asserts the event has the given attributes.
    Asserts the event has attributes matching all assertions.
    Asserts the event has attributes matching all assertions.
    hasAttributesSatisfying(Consumer<io.opentelemetry.api.common.Attributes> attributes)
    Asserts the event has attributes satisfying the given condition.
    Asserts the event has attributes matching all assertions and no more.
    Asserts the event has attributes matching all assertions and no more.
    Asserts the event has the given name.
    hasTimestamp(long timestampNanos)
    Asserts the event has the given timestamp, in nanos.
    hasTimestamp(long timestamp, TimeUnit unit)
    Asserts the event has the given timestamp.
    hasTimestamp(Instant timestamp)
    Asserts the event has the given timestamp, in nanos.

    Methods inherited from class org.assertj.core.api.AbstractAssert

    areEqual, 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, withThreadDumpOnError

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.assertj.core.api.Descriptable

    as, as, as, describedAs