interface HoldsStep : HoldsStep<RepresentationOnly.RepresentationStep>
(source)
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. |
fun create(): RepresentationOnly.HoldsStep
Factory method to create the HoldsStep step in the process of building a descriptive assertion. |