クラス 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) 記録された呼び出しの数が期待されるものと一致することを確認します。- void- match- (RuntimeHints runtimeHints) 記録された各呼び出しが、提供された- RuntimeHints内の少なくとも 1 回のヒントと一致することを確認します。- org.assertj.core.api.ListAssert<RecordedInvocation>- notMatching- (RuntimeHints runtimeHints) - withRegistrar- (RuntimeHintsRegistrar registrar) - withSpringFactoriesRegistrars- (StringSE location) - クラス org.assertj.core.api.AbstractAssert から継承されたメソッド- actual, areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, 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, usingEquals, usingEquals, 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, 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- 記録された呼び出しの数が期待されるものと一致しない場合