object = $this->getMockForAbstractClass( 'PMA\libraries\StorageEngine', array('dummy') ); } /** * Tears down the fixture, for example, closes a network connection. * This method is called after a test is executed. * * @access protected * @return void */ protected function tearDown() { unset($this->object); } /** * Test for getStorageEngines * * @return void */ public function testGetStorageEngines() { $this->assertEquals( array( 'dummy' => array( 'Engine' => 'dummy', 'Support' => 'YES', 'Comment' => 'dummy comment', ), 'dummy2' => array( 'Engine' => 'dummy2', 'Support' => 'NO', 'Comment' => 'dummy2 comment', ), 'FEDERATED' => array( 'Engine' => 'FEDERATED', 'Support' => 'NO', 'Comment' => 'Federated MySQL storage engine' ), ), $this->object->getStorageEngines() ); } /** * Test for getHtmlSelect * * @return void * * @group medium */ public function testGetHtmlSelect() { $html = $this->object->getHtmlSelect(); $this->assertContains( '