/**
  * @param FileInterface $file
  * @return string
  */
 private function getTestGroupNameForDocumentationFile(FileInterface $file)
 {
     $name = $file->getName();
     if (substr(strtolower($name), 0, 7) === 'readme.') {
         $name = basename($file->getParent()) . ': Readme';
     }
     return $name;
 }
 /**
  * @param array         $configuration
  * @param string        $key
  * @param FileInterface $file
  */
 private function preparePathInConfiguration(array &$configuration, string $key, FileInterface $file)
 {
     if (!isset($configuration[$key])) {
         return;
     }
     $path = $configuration[$key];
     if (!$path) {
         return;
     }
     if ($path[0] !== '/') {
         $path = $file->getParent() . '/' . $path;
     }
     $configuration[$key] = realpath($path) ?: $path;
 }