Class SpanAssert.SpanAssertReturningAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<SELF,ACTUAL>
org.assertj.core.api.AbstractObjectAssert<SELF,ACTUAL>
org.assertj.core.api.AbstractThrowableAssert<SpanAssert.SpanAssertReturningAssert,Throwable>
io.micrometer.tracing.test.simple.SpanAssert.SpanAssertReturningAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<SpanAssert.SpanAssertReturningAssert,,Throwable> org.assertj.core.api.Descriptable<SpanAssert.SpanAssertReturningAssert>,org.assertj.core.api.ExtensionPoints<SpanAssert.SpanAssertReturningAssert,Throwable>
- Enclosing class:
SpanAssert<SELF extends SpanAssert<SELF>>
public static class SpanAssert.SpanAssertReturningAssert
extends org.assertj.core.api.AbstractThrowableAssert<SpanAssert.SpanAssertReturningAssert,Throwable>
Syntactic sugar that extends
AbstractThrowableAssert methods with an option
to go back to SpanAssert.- Since:
- 1.0.0
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Constructor Summary
ConstructorsConstructorDescriptionSpanAssertReturningAssert(Throwable throwable, SpanAssert spanAssert) Creates a new instance ofSpanAssert.SpanAssertReturningAssert. -
Method Summary
Methods inherited from class org.assertj.core.api.AbstractThrowableAssert
cause, doesNotThrowAnyException, getCause, getRootCause, hasBeenThrown, hasCause, hasCauseExactlyInstanceOf, hasCauseInstanceOf, hasCauseReference, hasMessage, hasMessage, hasMessageContaining, hasMessageContaining, hasMessageContainingAll, hasMessageEndingWith, hasMessageEndingWith, hasMessageFindingMatch, hasMessageMatching, hasMessageMatching, hasMessageNotContaining, hasMessageNotContainingAny, hasMessageStartingWith, hasMessageStartingWith, hasNoCause, hasNoSuppressedExceptions, hasRootCause, hasRootCauseExactlyInstanceOf, hasRootCauseInstanceOf, hasRootCauseMessage, hasRootCauseMessage, hasStackTraceContaining, hasStackTraceContaining, hasSuppressedException, message, rootCauseMethods inherited from class org.assertj.core.api.AbstractObjectAssert
as, as, doesNotReturn, extracting, extracting, extracting, extracting, extracting, extracting, extractingForProxy, getComparatorsByType, hasAllNullFieldsOrProperties, hasAllNullFieldsOrPropertiesExcept, hasFieldOrProperty, hasFieldOrPropertyWithValue, hasNoNullFieldsOrProperties, hasNoNullFieldsOrPropertiesExcept, hasOnlyFields, isEqualToComparingFieldByField, isEqualToComparingFieldByFieldRecursively, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, newObjectAssert, returns, usingComparatorForFields, usingComparatorForType, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparisonMethods 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, 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, describedAs
-
Constructor Details
-
SpanAssertReturningAssert
Creates a new instance ofSpanAssert.SpanAssertReturningAssert.- Parameters:
throwable- throwable to assertspanAssert- span assert to go back to
-
-
Method Details
-
backToSpan
Goes back to the previousSpanAssert. Allows better fluent assertions.- Returns:
- previous
SpanAssert
-