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

NameTypeDefault
$fn callable required
$exceptionClass string 'Throwable'
$message string ''

Returns

void

Source

src/Test.php:353-365