Package org.assertj.core.api
Interface AutoCloseableSoftAssertionsProvider
-
- All Superinterfaces:
AfterAssertionErrorCollected
,AssertionErrorCollector
,AutoCloseable
,SoftAssertionsProvider
- All Known Implementing Classes:
AutoCloseableBDDSoftAssertions
,AutoCloseableSoftAssertions
public interface AutoCloseableSoftAssertionsProvider extends SoftAssertionsProvider, AutoCloseable
Parent interface for soft assertion implementations.- Author:
- Fr Jeremy Krieg
- See Also:
AbstractSoftAssertions
,SoftAssertions
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.assertj.core.api.SoftAssertionsProvider
SoftAssertionsProvider.ThrowingRunnable
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default 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 Detail
-
close
default void close()
Allows the SoftAssertionsProvider to be used as anAutoCloseable
by callingSoftAssertionsProvider.assertAll()
.- Specified by:
close
in interfaceAutoCloseable
- See Also:
SoftAssertionsProvider.assertAll()
-
-