interface HoldsStep<R>
Step which allows to specify RepresentationOnlyAssertion.holds.
abstract val failing: R
Defines a constant failing assertion. |
|
abstract val holding: R
Defines a constant holding assertion. |
abstract fun withTest(test: () -> Boolean): R
Uses the given test as Assertion.holds. abstract fun <T> withTest(subjectProvider: SubjectProvider<T>, test: (T) -> Boolean): R
Uses the given test as Assertion.holds based on the subject provided by subjectProvider. |
interface HoldsStep : HoldsStep<RepresentationOnly.RepresentationStep>
Step which allows to specify RepresentationOnlyAssertion.holds. |