类 ObjectContentAssert<A>
- java.lang.Object
- org.assertj.core.api.AbstractAssert<S,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>
AssertJAssert
forObjectContent
.- 从以下版本开始:
- 1.4.0
构造器概要
构造器 限定符 构造器 说明 protected
ObjectContentAssert(A actual)
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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.org.assertj.core.api.AbstractMapAssert<?,?,Object,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.从类继承的方法 org.assertj.core.api.AbstractObjectAssert
as, as, defaultTypeComparators, extracting, hasFieldOrProperty, hasFieldOrPropertyWithValue, hasNoNullFieldsOrProperties, hasNoNullFieldsOrPropertiesExcept, isEqualToComparingFieldByField, isEqualToComparingFieldByFieldRecursively, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, usingComparatorForFields, usingComparatorForType
从类继承的方法 org.assertj.core.api.AbstractAssert
asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, setCustomRepresentation, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnError
构造器详细资料
ObjectContentAssert
protected ObjectContentAssert(A actual)