/**
* Tests the getQualifiedMapTable method with a prefixed database.
*/
public function testGetQualifiedMapTablePrefix() { $connection_options =
[ 'database' => ':memory:',
'prefix' => 'prefix',
];
$pdo = Connection::
open($connection_options);
$this->database =
new Connection($pdo,
$connection_options);
$qualified_map_table =
$this->
getIdMap()->
getQualifiedMapTableName();
// The SQLite driver is a special flower. It will prefix tables with
// PREFIX.TABLE, instead of the standard PREFIXTABLE.
// @see \Drupal\sqlite\Driver\Database\sqlite\Connection::__construct()
$this->
assertEquals('prefix.migrate_map_sql_idmap_test',
$qualified_map_table);
} /**
* Tests all the iterator methods in one swing.
*
* The iterator methods are:
* - Sql::rewind()
* - Sql::next()
* - Sql::valid()
* - Sql::key()
* - Sql::current()
*/