/** * Tests the fetchId method * * @return void * * @since 3.0 * * @covers JToolbarButtonConfirm::fetchId */ public function testFetchId() { $this->assertThat($this->object->fetchId('confirm', 'test'), $this->equalTo('toolbar-test')); }
/** * Tests the fetchId method * * @return void * * @since 3.0 */ public function testFetchId() { $this->assertEquals($this->object->fetchId('confirm', 'Message to render', 'test'), 'toolbar-test'); }