public function testDeleteIndexes()
{
foreach ($this->documentCollections as $class => $collection) {
if (in_array($class, $this->indexedClasses)) {
$collection->expects($this->once())->method('deleteIndexes');
} elseif (in_array($class, $this->someMappedSuperclassAndEmbeddedClasses)) {
$collection->expects($this->never())->method('deleteIndexes');
}
}
$this->schemaManager->deleteIndexes();
}