クラス MethodAssert
java.lang.ObjectSE
org.assertj.core.api.AbstractAssert<SELF,ACTUAL>
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
は Method
SE に適用できます。- 導入:
- 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
クラス java.lang.ObjectSE から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.assertj.core.api.Descriptable から継承されたメソッド
as, describedAs, describedAs
コンストラクターの詳細
MethodAssert
メソッドの詳細
hasName
実際のメソッドに指定された名前があることを確認します。- パラメーター:
name
- 期待されるメソッド名
hasDeclaringClass
実際のメソッドが指定されたtype
で宣言されていることを確認します。- パラメーター:
type
- 予想される宣言クラス