/** * Tests the JDatabaseQuery::length method. * * @return void * * @since 11.3 */ public function testLength() { $q = new JDatabaseQueryInspector($this->dbo); $this->assertThat(trim($q->length('foo')), $this->equalTo('LENGTH(foo)'), 'Tests method renders correctly.'); }