PopTest\Code\ReflectionTest::testBuildGenerator PHP Method

testBuildGenerator() public method

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()));
    }