Example #1
0
 /**
  * @test
  * @covers Cocur\Ea\MethodFactory::__construct()
  * @covers Cocur\Ea\MethodFactory::getName()
  * @covers Cocur\Ea\MethodFactory::getVisibility()
  */
 public function __constructSetsNameAndVisibility()
 {
     $m = new MethodFactory('foo', 'protected');
     $this->assertSame('foo', $m->getName());
     $this->assertSame('protected', $m->getVisibility());
 }