/** * 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'); }
/** * 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'); }