类 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
  • 构造器概要

    构造器
    限定符
    构造器
    说明
    protected
     
  • 方法概要

    修饰符和类型
    方法
    说明
    org.assertj.core.api.AbstractObjectArrayAssert<?,Object>
    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>
    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

    从类继承的方法 java.lang.Object

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

    从接口继承的方法 org.assertj.core.api.Descriptable

    as, describedAs, describedAs
  • 构造器详细资料

    • ObjectContentAssert

      protected ObjectContentAssert(A actual)
  • 方法详细资料

    • asArray

      public 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.
      返回:
      an array assertion object
    • asMap

      public 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.
      返回:
      a map assertion object