abstract fun allAssertionsHold(): Boolean
Checks whether the newly added Assertions hold.
Calling this method more than once should not re-check previously added Assertions. In contrast to ReportingAssertionPlant, this method should not report or throw an exception if an assertion does not hold. It merely states whether the newly added Assertions 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.