function fetchId($type = 'Link', $name = 'back', $text = '', $url = null, $id = null) { if ($id) { return $id; } return parent::fetchId($type, $name, $text, $url); }
/** * Tests the fetchId method * * @return void * * @since 3.0 */ public function testFetchId() { $this->assertThat($this->object->fetchId('link', 'test'), $this->equalTo('toolbar-test')); }