PopTest\Code\ReflectionTest::testBuildGenerator PHP 메소드

testBuildGenerator() 공개 메소드

public testBuildGenerator ( )
    public function testBuildGenerator()
    {
        $r = Reflection::factory('Pop\\File\\File');
        $r = Reflection::factory('Pop\\Web\\Session');
        $r = Reflection::factory('Pop\\Dom\\AbstractDom');
        $this->assertTrue($r->isAbstract());
        $r = Reflection::factory('Pop\\Form\\Form');
        $this->assertEquals('Dom', $r->generator()->code()->getParent());
        $r = Reflection::factory('Pop\\Cache\\Adapter\\File');
        $this->assertTrue(is_array($r->getInterfaces()));
    }