Esempio n. 1
0
 /**
  * Sets up the fixture, for example, opens a network connection.
  * This method is called before a test is executed.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->dbTableName = $this->config['testDbTable']['tableName'];
     $this->adapter = $this->container->get('db');
     $this->object = $this->container->get('testDbTable');
 }
Esempio n. 2
0
 /**
  * Sets up the fixture, for example, opens a network connection.
  * This method is called before a test is executed.
  */
 protected function setUp()
 {
     parent::setUp();
     $this->object = $this->container->get('testMemory');
 }