Class RuntimeHintsInvocationsAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<RuntimeHintsInvocationsAssert,RuntimeHintsInvocations>
 
org.springframework.aot.test.agent.RuntimeHintsInvocationsAssert
- All Implemented Interfaces:
- org.assertj.core.api.Assert<RuntimeHintsInvocationsAssert,,- RuntimeHintsInvocations> - org.assertj.core.api.Descriptable<RuntimeHintsInvocationsAssert>,- org.assertj.core.api.ExtensionPoints<RuntimeHintsInvocationsAssert,- RuntimeHintsInvocations> 
public class RuntimeHintsInvocationsAssert
extends org.assertj.core.api.AbstractAssert<RuntimeHintsInvocationsAssert,RuntimeHintsInvocations> 
AssertJ 
assertions that can be applied to
 RuntimeHintsInvocations.- Since:
- 6.0
- Author:
- Brian Clozel
- 
Field SummaryFields inherited from class org.assertj.core.api.AbstractAssertactual, info, myself, objects, throwUnsupportedExceptionOnEquals
- 
Method SummaryModifier and TypeMethodDescriptionhasCount(long count) Verifies that the count of recorded invocations match the expected one.voidmatch(RuntimeHints runtimeHints) Verifies that each recorded invocation match at least once hint in the providedRuntimeHints.org.assertj.core.api.ListAssert<RecordedInvocation>notMatching(RuntimeHints runtimeHints) withRegistrar(RuntimeHintsRegistrar registrar) withSpringFactoriesRegistrars(String location) Methods inherited from class org.assertj.core.api.AbstractAssertareEqual, 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, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptableas, as, as, describedAs
- 
Method Details- 
withRegistrar
- 
withSpringFactoriesRegistrars
- 
matchVerifies that each recorded invocation match at least once hint in the providedRuntimeHints.Example: RuntimeHints hints = new RuntimeHints(); hints.reflection().registerType(MyType.class); assertThat(invocations).match(hints); - Parameters:
- runtimeHints- the runtime hints configuration to test against
- Throws:
- AssertionError- if any of the recorded invocations has no match in the provided hints
 
- 
notMatching
- 
hasCountVerifies that the count of recorded invocations match the expected one.Example: assertThat(invocations).hasCount(42); - Parameters:
- count- the expected invocations count
- Returns:
- thisassertion object.
- Throws:
- AssertionError- if the number of recorded invocations doesn't match the expected one
 
 
-