/** * * Test -- Prepares the source text before any parsing occurs. * */ public function testPrepare() { // should show no changes $source = "foo bar baz"; $expect = $source; $actual = $this->_plugin->prepare($source); $this->assertSame($actual, $expect); }
/** * * Resets for a new transformation. * * @return void * */ public function reset() { parent::reset(); $this->_list_level = 0; }
/** * * Resets this plugin for a new transformation. * * @return void * */ public function reset() { parent::reset(); $this->_links = array(); $this->_pages = array(); $this->_count = 0; }