public function setUp()
 {
     $this->_mapper = ServiceProviderConfigMapper::getInstance();
 }
 public function getOrgConfig(OrgModelAbstract $org)
 {
     $spId = $this->getServiceProviderLevelId($org);
     $config = null;
     if ($spId) {
         $configMapper = ServiceProviderConfigMapper::getInstance();
         $config = $configMapper->findOneById($spId);
     }
     if (!$config) {
         $config = new OrgConfigModel();
     }
     $org->config = $config;
     return $config;
 }