类 ObjectContentAssert<A>

    • 字段概要

      • 从类继承的字段 org.assertj.core.api.AbstractAssert

        actual, info, myself
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型方法说明
      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
    • 方法详细资料

      • asArray

        public org.assertj.core.api.AbstractObjectArrayAssert<?,​ObjectasArray()
        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,​ObjectasMap()
        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