object = new Ndbcluster('nbdcluster'); } /** * 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 getVariables * * @return void */ public function testGetVariables() { $this->assertEquals( $this->object->getVariables(), array( 'ndb_connectstring' => array( ), ) ); } /** * Test for getVariablesLikePattern * * @return void */ public function testGetVariablesLikePattern() { $this->assertEquals( $this->object->getVariablesLikePattern(), 'ndb\\_%' ); } /** * Test for getMysqlHelpPage * * @return void */ public function testGetMysqlHelpPage() { $this->assertEquals( $this->object->getMysqlHelpPage(), 'ndbcluster' ); } }