Class 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>
- Type Parameters:
A- the actual type
- All Implemented Interfaces:
Assert<ObjectContentAssert<A>, A>, Descriptable<ObjectContentAssert<A>>, ExtensionPoints<ObjectContentAssert<A>, A>
AssertJ
Assert for ObjectContent.- Since:
- 1.4.0
- Author:
- Phillip Webb, Stefano Cordio
-
Field Summary
Fields inherited from class AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasArray()Verifies that the actual value is an array, and returns an array assertion, to allow chaining of array-specific assertions from this call.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 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, usingRecursiveComparisonMethods inherited from class 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, withThreadDumpOnErrorMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Descriptable
as, describedAs, describedAs
-
Constructor Details
-
ObjectContentAssert
-
-
Method Details
-
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
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
-