public function testEnsureDocumentIndexesWithTimeout()
{
$collection = $this->documentCollections[\Documents\CmsArticle::class];
$collection->expects($this->once())->method('ensureIndex')->with($this->anything(), $this->callback(function ($o) {
return isset($o['timeout']) && $o['timeout'] === 10000;
}));
$this->schemaManager->ensureDocumentIndexes(\Documents\CmsArticle::class, 10000);
}