PopTest\Code\FunctionTest::testClosure PHP 메소드

testClosure() 공개 메소드

public testClosure ( )
    public function testClosure()
    {
        $f = FunctionGenerator::factory('newFunction');
        $f->setClosure(true);
        $this->assertTrue($f->isClosure());
    }