public function testCreateIndexesWithDifferentOptions()
{
$this->setExpectedException('MongoResultException');
$this->getCollection()->createIndex(['foo' => 1]);
$this->getCollection()->createIndex(['foo' => 1], ['unique' => true]);
}