Elgg\Database\ConfigTest::testGetTablePrefix PHP Method

testGetTablePrefix() public method

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