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