Class ExponentialHistogramBucketsAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<ExponentialHistogramBucketsAssert,io.opentelemetry.sdk.metrics.data.ExponentialHistogramBuckets>
io.opentelemetry.sdk.testing.assertj.ExponentialHistogramBucketsAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<ExponentialHistogramBucketsAssert,
,io.opentelemetry.sdk.metrics.data.ExponentialHistogramBuckets> org.assertj.core.api.Descriptable<ExponentialHistogramBucketsAssert>
,org.assertj.core.api.ExtensionPoints<ExponentialHistogramBucketsAssert,
io.opentelemetry.sdk.metrics.data.ExponentialHistogramBuckets>
public final class ExponentialHistogramBucketsAssert
extends org.assertj.core.api.AbstractAssert<ExponentialHistogramBucketsAssert,io.opentelemetry.sdk.metrics.data.ExponentialHistogramBuckets>
Test assertions for
ExponentialHistogramBuckets
.- Since:
- 1.23.0
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals
-
Method Summary
Modifier and TypeMethodDescriptionEnsures that thecounts
field matches the expected value.hasOffset
(int expected) Ensures that thetotalCount
field matches the expected value.hasTotalCount
(long expected) Ensures that thetotalCount
field matches the expected value.Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, 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, 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
-
hasCounts
Ensures that thecounts
field matches the expected value.- Parameters:
expected
- The bucket counts.
-
hasTotalCount
Ensures that thetotalCount
field matches the expected value.- Parameters:
expected
- The expected total count.
-
hasOffset
Ensures that thetotalCount
field matches the expected value.- Parameters:
expected
- The expected total count.
-