src/Process/ProcessSetCreator.php
private function getClassAnnotations(string $className, string $fileName): array
    {
        try {
            return AnnotationsParser::getAll(new \ReflectionClass($className));
        } catch (\ReflectionException $e) {
            throw new \RuntimeException(
                sprintf(
                    'Error loading class "%s" from file "%s". Make sure the class name and namespace matches '
                    . 'the file path.',
                    $className,
                    $fileName
                )
            );
        }
    }
private function getClassAnnotations(string $className, string $fileName): array
    {
        try {
            return AnnotationsParser::getAll(new \ReflectionClass($className));
        } catch (\ReflectionException $e) {
            throw new \RuntimeException(
                sprintf(
                    'Error loading class "%s" from file "%s". Make sure the class name and namespace matches '
                    . 'the file path.',
                    $className,
                    $fileName
                )
            );
        }
    }
Get annotations for the first class in testcase (one file = one class)