public function setUp()
 {
     $this->_sim = new SimModel();
     $this->_service = StockService::getInstance();
     $this->_user = new Application\Model\UserModel(array('userName' => 'StockIntUserTest', 'organizationId' => 'provider-sp1 (non-commercial)111111111111'));
     $this->_user->save();
     self::initAuthByUser($this->_user);
 }
Ejemplo n.º 2
0
 public function init()
 {
     $this->_stockSrv = \Application\Service\StockService::getInstance();
 }
 public function setUp()
 {
     $this->_sim = new SimModel();
     $this->_service = StockService::getInstance();
     self::initAuthUser(self::PROVIDER_ENABLER_USER_ID);
 }