类 ObjectContentAssert<A>
java.lang.Object
org.assertj.core.api.AbstractAssert<ObjectContentAssert<A>,A>
org.assertj.core.api.AbstractObjectAssert<ObjectContentAssert<A>,A>
org.springframework.boot.test.json.ObjectContentAssert<A>
- 类型参数:
A
- the actual type
- 所有已实现的接口:
org.assertj.core.api.Assert<ObjectContentAssert<A>,
,A> org.assertj.core.api.Descriptable<ObjectContentAssert<A>>
,org.assertj.core.api.ExtensionPoints<ObjectContentAssert<A>,
A>
public class ObjectContentAssert<A>
extends org.assertj.core.api.AbstractObjectAssert<ObjectContentAssert<A>,A>
AssertJ
Assert
for ObjectContent
.- 从以下版本开始:
- 1.4.0
- 作者:
- Phillip Webb
-
字段概要
从类继承的字段 org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.assertj.core.api.AbstractObjectArrayAssert
<?, Object> asArray()
Verifies that the actual value is an array, and returns an array assertion, to allow chaining of array-specific assertions from this call.asMap()
Verifies that the actual value is a map, and returns a map assertion, to allow chaining of map-specific assertions from this call.从类继承的方法 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
从接口继承的方法 org.assertj.core.api.Descriptable
as, describedAs, describedAs
-
构造器详细资料
-
ObjectContentAssert
-
-
方法详细资料
-
asArray
Verifies that the actual value is an array, and returns an array assertion, to allow chaining of array-specific assertions from this call.- 返回:
- an array assertion object
-
asMap
Verifies that the actual value is a map, and returns a map assertion, to allow chaining of map-specific assertions from this call.- 返回:
- a map assertion object
-