inline fun <reified T : Any> check(noinline predicate: (T) -> Unit): T
For usage with verification only.
For example: verify(myObject).doSomething(check { assertThat(it, is("Test")) })
predicate - A function that performs actions to verify an argument T.