/** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * * @return void */ protected function setUp() { parent::setUp(); $this->db = static::$dbo; $this->connection = $this->db->getConnection(); }
/** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. * * @return void */ protected function setUp() { parent::setUp(); $this->instance = new DatabaseHandler(new WindwalkerAdapter(static::$dbo)); }