Example #1
0
 /**
  * Takes a classname to generate unit tests for
  * @param string $className
  */
 public function __construct($className)
 {
     $this->class = new ReflectionClass($className);
     $this->methods = $this->class->getPublicMethods();
     $tokenize = self::getTokenizer($this->class->getFileName());
     $this->class->setTokenize($tokenize);
 }