public function testGetTablePrefix() { $CONFIG = new \stdClass(); $CONFIG->dbprefix = "foo"; $conf = new \Elgg\Database\Config($CONFIG); $this->assertEquals($CONFIG->dbprefix, $conf->getTablePrefix()); }