/** * Tests the \Joomla\Database\DatabaseQuery::length method. * * @return void * * @covers \Joomla\Database\DatabaseQuery::length * @since 1.0 */ public function testLength() { $this->assertThat(trim($this->instance->length('foo')), $this->equalTo('LENGTH(foo)'), 'Tests method renders correctly.'); }