/** * Test loadAssocList method. * * @return void * * @since 11.1 */ public function testLoadAssocList() { $query = $this->object->getQuery(true); $query->select('title'); $query->from('jos_dbtest'); $this->object->setQuery($query); $result = $this->object->loadAssocList(); $this->assertThat($result, $this->equalTo(array(array('title' => 'Testing'), array('title' => 'Testing2'), array('title' => 'Testing3'), array('title' => 'Testing4'))), __LINE__); }