HoldsStep

interface HoldsStep<R>(source)

Step which allows to specify RepresentationOnlyAssertion.holds.

Inheritors

Properties

Link copied to clipboard
abstract val failing: R

Defines a constant failing assertion.

Link copied to clipboard
abstract val holding: R

Defines a constant holding assertion.

Functions

Link copied to clipboard
abstract fun withTest(test: () -> Boolean): R

Uses the given test as Assertion.holds.

abstract fun <T> withTest(expect: Expect<T>, test: (T) -> Boolean): R

Uses the given test as Assertion.holds based on the subject provided by subjectProvider.