BetterReflectionTest\Reflector\ClassReflectorTest::testThrowsExceptionWhenIdentifierNotFound PHP Method

testThrowsExceptionWhenIdentifierNotFound() public method

    public function testThrowsExceptionWhenIdentifierNotFound()
    {
        $defaultReflector = ClassReflector::buildDefaultReflector();
        $this->expectException(IdentifierNotFound::class);
        $defaultReflector->reflect('Something\\That\\Should\\Not\\Exist');
    }