Phalcon\Test\Unit\Annotations\ReflectionTest::testEmptyReflection PHP Метод

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

Tests creating empty Reflection object
С версии: 2016-01-26
Автор: Serghei Iakovlev ([email protected])
public testEmptyReflection ( )
    public function testEmptyReflection()
    {
        $this->specify('Incorrect initialization Reflection object without $reflectionData parameter', function () {
            $reflection = new Reflection();
            expect($reflection->getClassAnnotations())->equals(null);
            expect($reflection->getMethodsAnnotations())->equals(null);
            expect($reflection->getPropertiesAnnotations())->equals(null);
        });
    }