/** * Tests the JDatabase::getCount method. * * @return void * * @since 11.4 */ public function testGetCount() { TestReflection::setValue($this->db, 'count', 42); $this->assertThat( $this->db->getCount(), $this->equalTo(42) ); }
/** * Get the total number of SQL statements executed by the database driver. * * @return integer */ public function getCount() { return $this->_db->getCount(); }