PopTest\Code\FunctionTest::testClosure PHP Метод

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

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