public function ensureGetIndex()
{
$this->queue->ensureGetIndex(['type' => 1], ['boo' => -1]);
$this->queue->ensureGetIndex(['another.sub' => 1]);
$indexes = iterator_to_array($this->collection->listIndexes());
$this->assertSame(4, count($indexes));
$expectedOne = ['running' => 1, 'payload.type' => 1, 'priority' => 1, 'created' => 1, 'payload.boo' => -1, 'earliestGet' => 1];
$this->assertSame($expectedOne, $indexes[1]['key']);
$expectedTwo = ['running' => 1, 'resetTimestamp' => 1];
$this->assertSame($expectedTwo, $indexes[2]['key']);
$expectedThree = ['running' => 1, 'payload.another.sub' => 1, 'priority' => 1, 'created' => 1, 'earliestGet' => 1];
$this->assertSame($expectedThree, $indexes[3]['key']);
}