/**
* Set Adapter Constraint. For example, you can constrain PHPUnit by passing the Test Case/Suite
* Class and/or Name to execute. e.g. phpunit AllTests.php (constraint is "AllTests.php")
*
* @param \Mutagenesis\Runner\RunnerAbstract $runner
*/
protected static function setAdapterConstraint(\Mutagenesis\Runner\RunnerAbstract $runner)
{
if (isset(self::$_options['constraint'])) {
$runner->setAdapterConstraint(self::$_options['constraint']);
}
}