クラス MethodAssert
java.lang.ObjectSE
org.assertj.core.api.AbstractAssert<MethodAssert, MethodSE>
org.assertj.core.api.AbstractObjectAssert<MethodAssert, MethodSE>
org.springframework.test.util.MethodAssert
- 実装済みのインターフェース一覧:
org.assertj.core.api.Assert<MethodAssert, MethodSE>, org.assertj.core.api.Descriptable<MethodAssert>, org.assertj.core.api.ExtensionPoints<MethodAssert, MethodSE>
AssertJ
assertions は MethodSE に適用できます。- 導入:
- 6.2
- 作成者:
- Stephane Nicoll
フィールド概要
クラス org.assertj.core.api.AbstractAssert から継承されたフィールド
actual, info, myself, objects, throwUnsupportedExceptionOnEqualsコンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明hasDeclaringClass(ClassSE<?> type) 実際のメソッドが指定されたtypeで宣言されていることを確認します。実際のメソッドに指定された名前があることを確認します。クラス org.assertj.core.api.AbstractObjectAssert から継承されたメソッド
as, as, doesNotReturn, extracting, extracting, extracting, extracting, extracting, extracting, extractingForProxy, getComparatorsByType, hasAllNullFieldsOrProperties, hasAllNullFieldsOrPropertiesExcept, hasFieldOrProperty, hasFieldOrPropertyWithValue, hasNoNullFieldsOrProperties, hasNoNullFieldsOrPropertiesExcept, hasOnlyFields, isEqualToComparingFieldByField, isEqualToComparingFieldByFieldRecursively, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, newObjectAssert, returns, usingComparatorForFields, usingComparatorForType, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparisonクラス 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, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorクラス ObjectSE から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, toString, wait, waitSE, waitSEインターフェース org.assertj.core.api.Descriptable から継承されたメソッド
as, describedAs, describedAs
コンストラクターの詳細
MethodAssert
メソッドの詳細
hasName
hasDeclaringClass
実際のメソッドが指定されたtypeで宣言されていることを確認します。- パラメーター:
type- 予想される宣言クラス