コード例 #1
0
 protected function setUp()
 {
     parent::setUp();
     $this->workflowRegistry = $this->createWorkflowRegistryMock();
     $this->defaultValuesListener = $this->createDefaultValuesListenerMock();
     $this->initActionListener = $this->createInitActionsListenerMock();
     $this->requiredAttributesListener = $this->createRequiredAttributesListenerMock();
     $this->type = $this->createWorkflowAttributesType($this->workflowRegistry, $this->defaultValuesListener, $this->initActionListener, $this->requiredAttributesListener);
 }
コード例 #2
0
 protected function setUp()
 {
     parent::setUp();
     $this->type = new WorkflowStepType();
 }