public function testTariffPlanServicesInsert()
 {
     $data = $this->_mapper->findOneById(1);
     $this->assertNotNull($data);
     $this->assertInstanceOf("\\Application\\Model\\TariffPlanServicesModel", $data);
     $data->setId(null);
     $this->_mapper->insert($data);
     $this->assertNotNull($data->getId());
 }
 protected function _createTariffPlanServices()
 {
     $tariffPlanServices = new Model\TariffPlanServicesModel($this->_servicesTariffPlanData);
     $this->_tfservMapper->insert($tariffPlanServices);
     $this->assertNotNull($tariffPlanServices->getId());
     $newTariffPlanServices = $this->_tfservMapper->findOneById($tariffPlanServices->getId());
     $this->assertNotNull($newTariffPlanServices, "TariffPlan Service does not exist");
     $this->_checkSavedData($this->_servicesTariffPlanData, $newTariffPlanServices, "TariffPlanServices");
     return $tariffPlanServices->getId();
 }