Exemple #1
0
 /**
  * Tests that changing index type and readonly cannot be overriden
  * @return void
  */
 public function testFixedOptions()
 {
     $plugin = new Plugin(null, array('indexType' => Plugin::INDEX_MIXED, 'readonly' => true));
     $this->assertEquals(Plugin::INDEX_ASSOCIATIVE, $plugin->getIndexType());
     $this->assertFalse($plugin->isReadOnly());
 }