/** * Test for the JDatabaseQuery::__call method. * * @return void * * @since 11.1 */ public function test__call() { $this->assertThat($this->_instance->e('foo'), $this->equalTo($this->_instance->escape('foo')), 'Tests the e alias of escape.'); $this->assertThat($this->_instance->q('foo'), $this->equalTo($this->_instance->quote('foo')), 'Tests the q alias of quote.'); $this->assertThat($this->_instance->qn('foo'), $this->equalTo($this->_instance->quoteName('foo')), 'Tests the qn alias of quoteName.'); $this->assertThat($this->_instance->foo(), $this->isNull(), 'Tests for an unknown method.'); }