thenError

abstract fun thenError(assertion: InitSpec.AssertError)

Runs the specified test and validates that it throws the exception expected by the supplied AssertError.

Parameters

assertion

an expectation on the exception