Asserts that the value is a function that when executed will throw an error.
AssertionFailure - If the function does not throw an error.
AssertionError - If the error thrown does not match the expected error.
AssertionError - If the error message does not match the expected message.
Represents an interface for validating that the current (
actual
) value is a function that when executed is expected to throw an assertion of the matching type.Template: R
The type of the result of the operation.