public function testType()
 {
     $this->assertNull($this->workflowDefinition->getType());
     $value = Workflow::TYPE_ENTITY;
     $this->workflowDefinition->setType($value);
     $this->assertEquals($value, $this->workflowDefinition->getType());
 }