クラス RuntimeHintsInvocationsAssert
java.lang.ObjectSE
org.assertj.core.api.AbstractAssert<RuntimeHintsInvocationsAssert,RuntimeHintsInvocations>
org.springframework.aot.test.agent.RuntimeHintsInvocationsAssert
- 実装されているすべてのインターフェース:
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>
RuntimeHintsInvocations に適用できる AssertJ assertions。- 導入:
- 6.0
- 作成者:
- Brian Clozel
フィールドのサマリー
クラス org.assertj.core.api.AbstractAssert から継承されたフィールド
actual, info, myself, objects, throwUnsupportedExceptionOnEqualsメソッドのサマリー
修飾子と型メソッド説明hasCount(long count) 記録された呼び出しの数が期待されるものと一致することを確認します。voidmatch(RuntimeHints runtimeHints) 記録された各呼び出しが、提供されたRuntimeHints内の少なくとも 1 回のヒントと一致することを確認します。org.assertj.core.api.ListAssert<RecordedInvocation>notMatching(RuntimeHints runtimeHints) withRegistrar(RuntimeHintsRegistrar registrar) withSpringFactoriesRegistrars(StringSE location) クラス 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, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorクラス java.lang.ObjectSE から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.assertj.core.api.Descriptable から継承されたメソッド
as, as, as, describedAs
メソッドの詳細
withRegistrar
withSpringFactoriesRegistrars
match
記録された各呼び出しが、提供されたRuntimeHints内の少なくとも 1 回のヒントと一致することを確認します。例:
RuntimeHints hints = new RuntimeHints(); hints.reflection().registerType(MyType.class); assertThat(invocations).match(hints);
- パラメーター:
runtimeHints- テストする実行時のヒント構成- 例外:
AssertionErrorSE- 記録された呼び出しのいずれかが提供されたヒントに一致しない場合
notMatching
hasCount
記録された呼び出しの数が期待されるものと一致することを確認します。例:
assertThat(invocations).hasCount(42);
- パラメーター:
count- 予想される呼び出し数- 戻り値:
thisアサーションオブジェクト。- 例外:
AssertionErrorSE- 記録された呼び出しの数が期待されるものと一致しない場合