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()); }
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()); }