Ejemplo n.º 1
0
 public function testActionWithTwoMethods()
 {
     $a1 = new MethodDescription('method1');
     $a2 = new MethodDescription('method2');
     $a = new ActionDescription('action', array($a1, $a2));
     $this->assertEquals('action', $a->getName());
     $this->assertCount(2, $a->getMethods());
 }