/** * Tests the JDatabase::getLog method. * * @return void * * @since 11.4 */ public function testGetLog() { TestReflection::setValue($this->db, 'log', 'foo'); $this->assertThat( $this->db->getLog(), $this->equalTo('foo') ); }
/** * Get the database driver SQL statement log. * * @return array SQL statements executed by the database driver. */ public function getLog() { return $this->_db->getLog(); }