Esempio n. 1
0
 public function testVisibility()
 {
     $method = new Method('public', 'setVisibility', '$visibility', '$this->visibility = $visibility;');
     $method->setVisibility('protected');
     $this->assertSame('protected', $method->getVisibility());
 }