/** * Test loadRowList method * * @return void * * @since 11.1 */ public function testLoadRowList() { $query = $this->object->getQuery(true); $query->select('*'); $query->from('jos_dbtest'); $query->where('description=' . $this->object->quote('one')); $this->object->setQuery($query); $result = $this->object->loadRowList(); $expected = array(array(1, 'Testing', '1980-04-18 00:00:00', 'one'), array(2, 'Testing2', '1980-04-18 00:00:00', 'one')); $this->assertThat($result, $this->equalTo($expected), __LINE__); }