Class SpansAssert.SpansAssertReturningAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<SELF,io.micrometer.tracing.exporter.FinishedSpan>
io.micrometer.tracing.test.simple.SpanAssert<SpansAssert.SpansAssertReturningAssert>
io.micrometer.tracing.test.simple.SpansAssert.SpansAssertReturningAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<SpansAssert.SpansAssertReturningAssert,,io.micrometer.tracing.exporter.FinishedSpan> org.assertj.core.api.Descriptable<SpansAssert.SpansAssertReturningAssert>,org.assertj.core.api.ExtensionPoints<SpansAssert.SpansAssertReturningAssert,io.micrometer.tracing.exporter.FinishedSpan>
- Enclosing class:
SpansAssert
public static class SpansAssert.SpansAssertReturningAssert
extends SpanAssert<SpansAssert.SpansAssertReturningAssert>
Syntactic sugar that extends
SpanAssert methods with an option to go back
to SpansAssert.- Since:
- 1.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class io.micrometer.tracing.test.simple.SpanAssert
SpanAssert.SpanAssertReturningAssert -
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Constructor Summary
ConstructorsConstructorDescriptionSpansAssertReturningAssert(SpansAssert spansAssert, io.micrometer.tracing.exporter.FinishedSpan span) Creates a new instance ofSpansAssert.SpansAssertReturningAssert. -
Method Summary
Methods inherited from class io.micrometer.tracing.test.simple.SpanAssert
assertThat, assertThatThrowable, doesNotHaveEventWithNameEqualTo, doesNotHaveIpEqualTo, doesNotHaveKindEqualTo, doesNotHaveLink, doesNotHaveLink, doesNotHaveNameEqualTo, doesNotHaveParentIdEqualTo, doesNotHavePortEqualTo, doesNotHaveRemoteServiceNameEqualTo, doesNotHaveSpanIdEqualTo, doesNotHaveTag, doesNotHaveTag, doesNotHaveTagWithKey, doesNotHaveTagWithKey, doesNotHaveTraceIdEqualTo, hasEventWithNameEqualTo, hasIpEqualTo, hasIpThatIsBlank, hasIpThatIsNotBlank, hasKindEqualTo, hasLink, hasLink, hasNameEqualTo, hasNoTags, hasParentIdEqualTo, hasPortEqualTo, hasPortThatIsNotSet, hasPortThatIsSet, hasRemoteServiceNameEqualTo, hasSpanIdEqualTo, hasTag, hasTag, hasTagWithKey, hasTagWithKey, hasTraceIdEqualTo, isEnded, isNotEnded, isNotStarted, isStarted, then, thenThrowableMethods 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, 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, describedAs
-
Constructor Details
-
SpansAssertReturningAssert
public SpansAssertReturningAssert(SpansAssert spansAssert, io.micrometer.tracing.exporter.FinishedSpan span) Creates a new instance ofSpansAssert.SpansAssertReturningAssert.- Parameters:
spansAssert- spans assertionspan- span to assert
-
-
Method Details
-
backToSpans
Goes back to theSpansAssert.- Returns:
SpansAssertassertion
-