Class ObjectContentAssert<A>

java.lang.Object
org.assertj.core.api.AbstractAssert<SELF,ACTUAL>
org.assertj.core.api.AbstractObjectAssert<ObjectContentAssert<A>,A>
org.springframework.boot.test.json.ObjectContentAssert<A>
Type Parameters:
A - the actual type
All Implemented Interfaces:
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.
Since:
1.4.0
Author:
Phillip Webb
  • Field Summary

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

    actual, info, myself, objects, throwUnsupportedExceptionOnEquals
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.

    Methods inherited from class 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, usingRecursiveComparison, usingRecursiveComparison

    Methods inherited from class org.assertj.core.api.AbstractAssert

    asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, 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, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.assertj.core.api.Descriptable

    as, describedAs
  • Constructor Details

    • ObjectContentAssert

      protected ObjectContentAssert(A actual)
  • Method Details

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