abstract fun allAssertionsHold(): Boolean
Checks whether the newly added IAssertions hold.
Calling this method more than once should not re-check previously added IAssertions. In contrast to IReportingAssertionPlant, this method should not report or throw an exception if an assertion does not hold. It merely states whether the newly added IAssertions hold.
However, it should throw an IllegalStateException in case no new assertions have been added to this plant. Particularly after one called allAssertionsHold and a second call happens without adding an additional assertion in between.
IllegalStateException
- in case no new assertions have been added to this plant.
Return
true
if the added IAssertions hold; false
otherwise.