コード例 #1
0
ファイル: DbTableTest.php プロジェクト: avz-cmf/zaboy-res
 /**
  * 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');
 }
コード例 #2
0
ファイル: MemoryTest.php プロジェクト: avz-cmf/zaboy-res
 /**
  * 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');
 }