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