mini\Test::assertThrows() Method

protected

Signature

protected function assertThrows(callable $fn, string $exceptionClass = 'Throwable', string $message = ''): void

Parameters

Name Type Default Description
$fn callable required Documentation missing
$exceptionClass string 'Throwable' Documentation missing
$message string '' Documentation missing

Returns

void

Documentation

Documentation missing - No docblock found for this method.

Source

src/Test.php:353-365