expectError

open fun <E : Throwable> expectError(expected: Consumer<E>): ExpectStage<T>