Phalcon\Test\Unit\Annotations\ReaderTest::testParseWithNonExistentClass PHP Метод

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

Test throws ReflectionException when non-existent got class
С версии: 2016-01-25
Автор: Serghei Iakovlev ([email protected])
    public function testParseWithNonExistentClass()
    {
        $this->specify("Reader::parse does not throws ReflectionException when non-existent got class", function () {
            $reader = new Reader();
            $reader->parse('TestClass1');
        }, ['throws' => ['ReflectionException', 'Class TestClass1 does not exist']]);
    }