public function reflectClass(string $className) : ClassReflection
 {
     try {
         $reflection = $this->classReflector->reflect($className);
         return new BetterReflectionClassReflection($reflection, $this->annotationsScanner, $this, $this->typeFactory, $reflection->getFileName() ? $this->importScanner->scanForImports($reflection->getFileName()) : []);
     } catch (IdentifierNotFound $exception) {
         throw ClassNotFound::named($className);
     }
 }
 function it_throws_an_exception_if_it_could_not_find_a_class()
 {
     $this->shouldThrow(ClassNotFound::named('ThisClassDoesNotExist'))->during('reflectClass', ['ThisClassDoesNotExist']);
 }