/**
* @covers FOF30\Database\Installer::removeSchema
*/
public function testRemoveSchema()
{
$db = static::$container->db;
$this->createTable();
$tables = $db->setQuery('SHOW TABLES')->loadColumn();
$prefix = $db->getPrefix();
$this->assertTrue(in_array($prefix . 'foobar_example', $tables), 'The table must exist before testing starts');
$installer = new Installer($db, __DIR__ . '/../_data/installer/pick_right');
$installer->removeSchema();
$tables = $db->setQuery('SHOW TABLES')->loadColumn();
$prefix = $db->getPrefix();
$this->assertFalse(in_array($prefix . 'foobar_example', $tables), 'The table must not exist after running removeSchema');
}