Class ObjectContentAssert<A>

    • Field Summary

      • Fields inherited from class org.assertj.core.api.AbstractAssert

        actual, info, myself, throwUnsupportedExceptionOnEquals
    • Constructor Summary

      Constructors 
      ModifierConstructorDescription
      protected ObjectContentAssert​(A actual) 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      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.
      • Methods inherited from class org.assertj.core.api.AbstractObjectAssert

        as, as, extracting, extracting, extracting, getComparatorsByType, hasFieldOrProperty, hasFieldOrPropertyWithValue, hasNoNullFieldsOrProperties, hasNoNullFieldsOrPropertiesExcept, isEqualToComparingFieldByField, isEqualToComparingFieldByFieldRecursively, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, newObjectAssert, returns, usingComparatorForFields, usingComparatorForType
      • Methods inherited from class org.assertj.core.api.AbstractAssert

        asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, satisfies, satisfies, setCustomRepresentation, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnError
    • Method Detail

      • 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.
        Returns:
        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.
        Returns:
        a map assertion object