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

testIsAbstract() public method

public testIsAbstract ( )
    public function testIsAbstract()
    {
        $class = new Class_('Foo', array('type' => Class_::MODIFIER_ABSTRACT));
        $this->assertTrue($class->isAbstract());
        $class = new Class_('Foo');
        $this->assertFalse($class->isAbstract());
    }