/** * Method to test exists(). * * @return void * * @covers Windwalker\Table\TableHelper::exists */ public function testExists() { $helper = new TableHelper('#__test_table'); $this->assertTrue($helper->exists(1)); $this->assertTrue($helper->exists(2)); $helper = new TableHelper('#__test_table2', null, 'pk'); $this->assertTrue($helper->exists(1)); $this->assertTrue($helper->exists(2)); $this->assertTrue($helper->exists(3)); }