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