addTestMethod() protected method

protected addTestMethod ( ReflectionClass $class, ReflectionMethod $method )
$class ReflectionClass
$method ReflectionMethod
 /**
  * @param ReflectionClass  $class
  * @param ReflectionMethod $method
  * @param array            $names
  */
 protected function addTestMethod(ReflectionClass $class, ReflectionMethod $method, array &$names)
 {
     if ($this->config->inMethodsToBeTested($class->getName(), $method->getName())) {
         parent::addTestMethod($class, $method, $names);
     }
 }
 public function addTestMethod(ReflectionClass $class, ReflectionMethod $method)
 {
     return parent::addTestMethod($class, $method);
 }