infix fun <N, V : N> KCallable<N>.shouldBe(expected: V?): Unit
Extension to add the name of the property to error messages.
Use with double colon syntax, eg |
|
infix fun <N, V : N> KCallable<N>.shouldEqual(expected: V?): Unit
Extension to add the name of a property to error messages. |
|
infix fun <T> KCallable<T>.shouldMatch(expected: T.() -> Unit): Unit |