Class ObjectContentAssert<A>

Type Parameters:
A - the actual type
All Implemented Interfaces:
Assert<ObjectContentAssert<A>, A>, Descriptable<ObjectContentAssert<A>>, ExtensionPoints<ObjectContentAssert<A>, A>

public class ObjectContentAssert<A> extends AbstractObjectAssert<ObjectContentAssert<A>, A>
AssertJ Assert for ObjectContent.
Since:
1.4.0
Author:
Phillip Webb, Stefano Cordio
  • Constructor Details

    • ObjectContentAssert

      protected ObjectContentAssert(A actual)
  • Method Details

    • asArray

      public 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 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