withTest

Uses the given test as DescriptiveAssertion.holds.


Uses the given test as DescriptiveAssertion.holds based on the subject provided by expect.

Notice, this function might change its signature with 1.0.0 to something like

fun <T> withTest(expect: Expect, test: (T) -> Boolean): DescriptionOption<FinalStep>