Package org.assertj.core.api
Interface AutoCloseableSoftAssertionsProvider
- All Superinterfaces:
AfterAssertionErrorCollected
,AssertionErrorCollector
,AutoCloseable
,SoftAssertionsProvider
- All Known Implementing Classes:
AutoCloseableBDDSoftAssertions
,AutoCloseableSoftAssertions
Parent interface for soft assertion implementations.
- Author:
- Fr Jeremy Krieg
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.assertj.core.api.SoftAssertionsProvider
SoftAssertionsProvider.ThrowingRunnable
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
close()
Allows the SoftAssertionsProvider to be used as anAutoCloseable
by callingSoftAssertionsProvider.assertAll()
.Methods inherited from interface org.assertj.core.api.AssertionErrorCollector
assertionErrorsCollected, collectAssertionError, getDelegate, onAssertionErrorCollected, setDelegate, succeeded, wasSuccess
Methods inherited from interface org.assertj.core.api.SoftAssertionsProvider
assertAll, assertAlso, check, proxy
-
Method Details
-
close
default void close()Allows the SoftAssertionsProvider to be used as anAutoCloseable
by callingSoftAssertionsProvider.assertAll()
.- Specified by:
close
in interfaceAutoCloseable
- See Also:
-