Ejemplo n.º 1
0
 public function testSetMethods()
 {
     $a = new ActionDescription('action', array(new MethodDescription('method1')));
     $a->setMethods(array(new MethodDescription('method2'), new MethodDescription('method3')));
     $this->assertCount(2, $a->getMethods());
 }