public function testCreateCollections()
{
foreach ($this->documentDatabases as $class => $database) {
if (in_array($class, $this->indexedClasses + $this->someNonIndexedClasses)) {
$database->expects($this->once())->method('createCollection');
} elseif (in_array($class, $this->someMappedSuperclassAndEmbeddedClasses)) {
$database->expects($this->never())->method('createCollection');
}
}
$this->schemaManager->createCollections();
}