Class DoublePointAssert

java.lang.Object
org.assertj.core.api.AbstractAssert<DoublePointAssert,io.opentelemetry.sdk.metrics.data.DoublePointData>
io.opentelemetry.sdk.testing.assertj.AbstractPointAssert<DoublePointAssert,io.opentelemetry.sdk.metrics.data.DoublePointData>
io.opentelemetry.sdk.testing.assertj.DoublePointAssert
All Implemented Interfaces:
org.assertj.core.api.Assert<DoublePointAssert,io.opentelemetry.sdk.metrics.data.DoublePointData>, org.assertj.core.api.Descriptable<DoublePointAssert>, org.assertj.core.api.ExtensionPoints<DoublePointAssert,io.opentelemetry.sdk.metrics.data.DoublePointData>

public final class DoublePointAssert extends AbstractPointAssert<DoublePointAssert,io.opentelemetry.sdk.metrics.data.DoublePointData>
Test assertions for DoublePointData.
Since:
1.14.0
  • Field Summary

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

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

    Modifier and Type
    Method
    Description
    hasExemplars(io.opentelemetry.sdk.metrics.data.DoubleExemplarData... exemplars)
    Asserts the point has the specified exemplars, in any order.
    Asserts the point has exemplars matching all of the assertions, in any order.
    Asserts the point has exemplars matching all of the assertions, in any order.
    hasValue(double expected)
    Asserts the point has the given value.
    hasValueSatisfying(Consumer<org.assertj.core.api.AbstractDoubleAssert<?>> valueAssertion)
    Asserts the point's value satisfies the given assertion.

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

    actual, areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, 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, usingEquals, usingEquals, usingRecursiveAssertion, usingRecursiveAssertion, 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, describedAs
  • Method Details

    • hasValue

      public DoublePointAssert hasValue(double expected)
      Asserts the point has the given value.
    • hasValueSatisfying

      public DoublePointAssert hasValueSatisfying(Consumer<org.assertj.core.api.AbstractDoubleAssert<?>> valueAssertion)
      Asserts the point's value satisfies the given assertion.
      Since:
      1.62.0
    • hasExemplars

      public DoublePointAssert hasExemplars(io.opentelemetry.sdk.metrics.data.DoubleExemplarData... exemplars)
      Asserts the point has the specified exemplars, in any order.
    • hasExemplarsSatisfying

      @SafeVarargs public final DoublePointAssert hasExemplarsSatisfying(Consumer<DoubleExemplarAssert>... assertions)
      Asserts the point has exemplars matching all of the assertions, in any order.
    • hasExemplarsSatisfying

      public DoublePointAssert hasExemplarsSatisfying(Iterable<? extends Consumer<DoubleExemplarAssert>> assertions)
      Asserts the point has exemplars matching all of the assertions, in any order.