interface HoldsOption
(source)
Option step which allows to specify DescriptiveAssertion.holds.
abstract val failing: DescriptionOption<FinalStep>
Defines a constant failing assertion. |
|
abstract val holding: DescriptionOption<FinalStep>
Defines a constant holding assertion. |
abstract fun withTest(test: () -> Boolean): DescriptionOption<FinalStep>
Uses the given test as DescriptiveAssertion.holds. |
fun create(): HoldsOption
Factory method to create the HoldsOption step in the process of building a descriptive assertion. |