mini\Test::assertThrows()
protected
Documentation
Documentation missing - No docblock found for this method.
Signature
protected function assertThrows(callable $fn, string $exceptionClass = 'Throwable', string $message = ''): void
Parameters
| Name | Type | Default |
|---|---|---|
$fn
|
callable |
required |
$exceptionClass
|
string |
'Throwable'
|
$message
|
string |
''
|
Returns
void