public function testLifeCycleInsert()
 {
     $data = $this->_mapper->findOneById(1);
     $this->assertNotNull($data);
     $this->assertInstanceOf("\\Application\\Model\\LifeCycleModel", $data);
     $data->setId(null);
     $this->_mapper->insert($data);
     $this->assertNotNull($data->getId());
 }
 protected function _createLifeCycle()
 {
     $lifeCycle = new LifeCycleModel($this->_lifeCycleData);
     $this->_lfMapper->insert($lifeCycle);
     $this->assertNotNull($lifeCycle->getId());
     $newLifeCycle = $this->_lfMapper->findOneById($lifeCycle->getId());
     $this->assertNotNull($newLifeCycle, "LifeCycle does not exist");
     $this->_checkSavedData($this->_lifeCycleData, $lifeCycle, 'LifeCycle');
     return $lifeCycle->getId();
 }