BetterReflectionTest\Reflector\LocatorTest::testReflectThrowsExeptionWhenClassNotFoundAndNoNodesExist PHP Метод

testReflectThrowsExeptionWhenClassNotFoundAndNoNodesExist() публичный Метод

    public function testReflectThrowsExeptionWhenClassNotFoundAndNoNodesExist()
    {
        $php = '<?php';
        $this->expectException(IdentifierNotFound::class);
        (new Locator())->findReflection(new ClassReflector(new StringSourceLocator($php)), new LocatedSource($php, null), $this->getIdentifier('Foo', IdentifierType::IDENTIFIER_CLASS));
    }