Uses of Class
org.assertj.core.api.SoftAssertions
-
Uses of SoftAssertions in org.assertj.core.api
Modifier and TypeClassDescriptionclass
A version ofSoftAssertions
that uses try-with-resources statement to automatically callAbstractSoftAssertions.assertAll()
so that you don't forget to.Modifier and TypeMethodDescriptionstatic void
SoftAssertions.assertSoftly
(Consumer<SoftAssertions> softly) Convenience method for callingSoftAssertionsProvider.assertSoftly(java.lang.Class<S>, java.util.function.Consumer<S>)
for these assertion types.