クラス 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>

    クラス 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, withThreadDumpOnError

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, finalize, getClass, notify, notifyAll, toString, wait, waitSE, waitSE

    インターフェース org.assertj.core.api.Descriptable から継承されたメソッド

    as, as, as, describedAs, describedAs
  • メソッドの詳細

    • withRegistrar

      public RuntimeHintsInvocationsAssert withRegistrar(RuntimeHintsRegistrar registrar)
    • withSpringFactoriesRegistrars

      public RuntimeHintsInvocationsAssert withSpringFactoriesRegistrars(StringSE location)
    • match

      public void match(RuntimeHints runtimeHints)
      記録された各呼び出しが、提供された RuntimeHints 内の少なくとも 1 回のヒントと一致することを確認します。

      例:

       RuntimeHints hints = new RuntimeHints();
       hints.reflection().registerType(MyType.class);
       assertThat(invocations).match(hints); 
      パラメーター:
      runtimeHints - テストする実行時のヒント構成
      例外:
      AssertionErrorSE - 記録された呼び出しのいずれかが提供されたヒントに一致しない場合
    • notMatching

      public org.assertj.core.api.ListAssert<RecordedInvocation> notMatching(RuntimeHints runtimeHints)
    • hasCount

      public RuntimeHintsInvocationsAssert hasCount(long count)
      記録された呼び出しの数が期待されるものと一致することを確認します。

      例:

       assertThat(invocations).hasCount(42); 
      パラメーター:
      count - 予想される呼び出し数
      戻り値:
      this アサーションオブジェクト。
      例外:
      AssertionErrorSE - 記録された呼び出しの数が期待されるものと一致しない場合