Exemplo n.º 1
0
 public function testStatic()
 {
     $method = new Method('public', 'setVisibility', '$visibility', '$this->visibility = $visibility;');
     $this->assertFalse($method->isStatic());
     $method->setStatic(true);
     $this->assertTrue($method->isStatic());
 }