/** * Test for isUnique * * @return void */ public function testIsUniquer() { $this->_params['Non_unique'] = "0"; $index = new PMA_Index($this->_params); $this->assertTrue($index->isUnique()); $this->assertEquals('Yes', $index->isUnique(true)); }