PhpParser\Node\Stmt\ClassTest::testIsFinal PHP Method

testIsFinal() public method

public testIsFinal ( )
    public function testIsFinal()
    {
        $class = new Class_('Foo', array('type' => Class_::MODIFIER_FINAL));
        $this->assertTrue($class->isFinal());
        $class = new Class_('Foo');
        $this->assertFalse($class->isFinal());
    }