/** * Tests the run mode of the collection * @param array $options * @return void * @dataProvider optionsProvider */ public function testOptions($options) { $collection = new Collection(null, $options); $this->assertEquals('Nimbles\\Core\\Event', $collection->getType()); $this->assertEquals(Collection::INDEX_ASSOCIATIVE, $collection->getIndexType()); $this->assertFalse($collection->isReadonly()); }