Uses of Class
org.assertj.core.api.RecursiveAssertionAssert
Packages that use RecursiveAssertionAssert
-
Uses of RecursiveAssertionAssert in org.assertj.core.api
Methods in org.assertj.core.api that return RecursiveAssertionAssertModifier and TypeMethodDescriptionRecursiveAssertionAssert.allFieldsSatisfy
(Predicate<Object> predicate) Asserts that the given predicate is met for all fields of the object under test recursively (but not the object itself).RecursiveAssertionAssert.hasNoNullFields()
Asserts that none of the fields of the object under test graph (i.e.RecursiveAssertionAssert.ignoringAllNullFields()
Makes the recursive assertion to ignore all null fields.RecursiveAssertionAssert.ignoringFields
(String... fieldsToIgnore) Makes the recursive assertion to ignore the specified fields in the object under test.RecursiveAssertionAssert.ignoringFieldsMatchingRegexes
(String... regexes) Makes the recursive assertion to ignore the fields matching the specified regexes in the object under test.RecursiveAssertionAssert.ignoringFieldsOfTypes
(Class<?>... typesToIgnore) Makes the recursive assertion to ignore the object under test fields of the given types.RecursiveAssertionAssert.ignoringPrimitiveFields()
Make the recursive assertion not to run thePredicate
over the primitive fields of an object in an object graph, by default asserting over primitives is enabled.protected RecursiveAssertionAssert
AbstractAssert.usingRecursiveAssertion()
protected RecursiveAssertionAssert
AbstractAssert.usingRecursiveAssertion
(RecursiveAssertionConfiguration recursiveAssertionConfiguration) AbstractIterableAssert.usingRecursiveAssertion()
Asserts that the given predicate is met for all fields of the object under test recursively (but not the object itself).AbstractIterableAssert.usingRecursiveAssertion
(RecursiveAssertionConfiguration recursiveAssertionConfiguration) The same asAbstractIterableAssert.usingRecursiveAssertion()
, but this method allows the developer to pass in an explicit recursion configuration.AbstractMapAssert.usingRecursiveAssertion()
Asserts that the given predicate is met for all fields of the object under test recursively (but not the object itself).AbstractMapAssert.usingRecursiveAssertion
(RecursiveAssertionConfiguration recursiveAssertionConfiguration) The same asAbstractMapAssert.usingRecursiveAssertion()
, but this method allows the developer to pass in an explicit recursion configuration.AbstractObjectArrayAssert.usingRecursiveAssertion()
Asserts that the given predicate is met for all fields of the object under test recursively (but not the object itself).AbstractObjectArrayAssert.usingRecursiveAssertion
(RecursiveAssertionConfiguration recursiveAssertionConfiguration) The same asAbstractObjectArrayAssert.usingRecursiveAssertion()
, but this method allows the developer to pass in an explicit recursion configuration.AbstractObjectAssert.usingRecursiveAssertion()
Asserts that the given predicate is met for all fields of the object under test recursively (but not the object itself).AbstractObjectAssert.usingRecursiveAssertion
(RecursiveAssertionConfiguration recursiveAssertionConfiguration) The same asAbstractObjectAssert.usingRecursiveAssertion()
, but this method allows the developer to pass in an explicit recursion configuration.AbstractOptionalAssert.usingRecursiveAssertion()
Asserts that the given predicate is met for all fields of the object under test recursively (but not the object itself).AbstractOptionalAssert.usingRecursiveAssertion
(RecursiveAssertionConfiguration recursiveAssertionConfiguration) The same asAbstractOptionalAssert.usingRecursiveAssertion()
, but this method allows the developer to pass in an explicit recursion configuration.RecursiveAssertionAssert.withCollectionAssertionPolicy
(RecursiveAssertionConfiguration.CollectionAssertionPolicy collectionAssertionPolicy) Makes the recursive assertion to use the specifiedRecursiveAssertionConfiguration.CollectionAssertionPolicy
.RecursiveAssertionAssert.withIntrospectionStrategy
(RecursiveAssertionIntrospectionStrategy introspectionStrategy) Defines how objects are introspected in the recursive assertion.RecursiveAssertionAssert.withMapAssertionPolicy
(RecursiveAssertionConfiguration.MapAssertionPolicy mapAssertionPolicy) Makes the recursive assertion to use the specifiedRecursiveAssertionConfiguration.MapAssertionPolicy
.RecursiveAssertionAssert.withOptionalAssertionPolicy
(RecursiveAssertionConfiguration.OptionalAssertionPolicy optionalAssertionPolicy) Makes the recursive assertion to use the specifiedRecursiveAssertionConfiguration.OptionalAssertionPolicy
.