/** * @depends testStates * @expectedException \InvalidArgumentException */ public function testActionNameInvalid(WorkflowState $state) { $this->factory->createAction('invalid action name', $state); }