Ejemplo n.º 1
0
 public function testName()
 {
     $this->assertEquals('testAction', $this->action->getName());
 }
Ejemplo n.º 2
0
 /**
  * Adds action for state.
  *
  * @param WorkflowAction $action
  */
 public function addAction(WorkflowAction $action)
 {
     $this->actions[$action->getName()] = $action;
 }