Utility method to create tests on the fly
You may chain the test:
public add ( string $name, Closure $closure ) : SimpleTest | ||
$name | string | |
$closure | Closure | function to execute |
return | SimpleTest |
public add ( string $name, Closure $closure ) : SimpleTest | ||
$name | string | |
$closure | Closure | function to execute |
return | SimpleTest |