Class SummaryAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<SummaryAssert,io.opentelemetry.sdk.metrics.data.SummaryData>
io.opentelemetry.sdk.testing.assertj.SummaryAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<SummaryAssert,,io.opentelemetry.sdk.metrics.data.SummaryData> org.assertj.core.api.Descriptable<SummaryAssert>,org.assertj.core.api.ExtensionPoints<SummaryAssert,io.opentelemetry.sdk.metrics.data.SummaryData>
public final class SummaryAssert
extends org.assertj.core.api.AbstractAssert<SummaryAssert,io.opentelemetry.sdk.metrics.data.SummaryData>
Test assertions for
SummaryData.- Since:
- 1.14.0
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Method Summary
Modifier and TypeMethodDescriptionhasPointsSatisfying(Iterable<? extends Consumer<SummaryPointAssert>> assertions) Asserts the summary has points matching all of the given assertions and no more, in any order.final SummaryAsserthasPointsSatisfying(Consumer<SummaryPointAssert>... assertions) Asserts the summary has points matching all of the given assertions and no more, in any order.org.assertj.core.api.AbstractIterableAssert<?,? extends Iterable<? extends io.opentelemetry.sdk.metrics.data.SummaryPointData>, io.opentelemetry.sdk.metrics.data.SummaryPointData, ?> points()Returns convenience API to assert against thepointsfield.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, 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
-
Method Details
-
points
public org.assertj.core.api.AbstractIterableAssert<?,? extends Iterable<? extends io.opentelemetry.sdk.metrics.data.SummaryPointData>, points()io.opentelemetry.sdk.metrics.data.SummaryPointData, ?> Returns convenience API to assert against thepointsfield. -
hasPointsSatisfying
@SafeVarargs public final SummaryAssert hasPointsSatisfying(Consumer<SummaryPointAssert>... assertions) Asserts the summary has points matching all of the given assertions and no more, in any order. -
hasPointsSatisfying
public SummaryAssert hasPointsSatisfying(Iterable<? extends Consumer<SummaryPointAssert>> assertions) Asserts the summary has points matching all of the given assertions and no more, in any order.
-