public function __construct($title) { $class = Inflector::classify(preg_replace('/\\W+/', ' ', $title)); parent::__construct($class); $this->extendClass('PHPUnit_Framework_TestCase', true); }