PhpParser\Node\Stmt\ClassConstTest::testNoModifiers PHP Method

testNoModifiers() public method

public testNoModifiers ( )
    public function testNoModifiers()
    {
        $node = new ClassConst(array(), 0);
        $this->assertTrue($node->isPublic());
        $this->assertFalse($node->isProtected());
        $this->assertFalse($node->isPrivate());
        $this->assertFalse($node->isStatic());
    }