/** * Test loadRow method * * @return void * * @since 11.1 */ public function testLoadRow() { $query = $this->object->getQuery(true); $query->select('*'); $query->from('jos_dbtest'); $query->where('description=' . $this->object->quote('three')); $this->object->setQuery($query); $result = $this->object->loadRow(); $expected = array(3, 'Testing3', '1980-04-18 00:00:00', 'three'); $this->assertThat($result, $this->equalTo($expected), __LINE__); }