No, not exactly. There's 2 pieces to it: verifyin...
# kotlintest
b
No, not exactly. There's 2 pieces to it: verifying that there is an instance of that type in the collection (and failing if not) and, when one is found, invoking a block. But that block is just (T) -> Unit, just like
shouldBeInstanceOf