Indicates that a test function is expected to fail with the given exception type.
The KClass of the expected Throwable.