/**
  * Tests the JDatabaseQuery::update method.
  *
  * @return  void
  *
  * @since   11.3
  */
 public function testUpdate()
 {
     $q = new JDatabaseQueryInspector($this->dbo);
     $this->assertThat($q->update('#__foo'), $this->identicalTo($q), 'Tests chaining.');
     $this->assertThat($q->type, $this->equalTo('update'), 'Tests the type property is set correctly.');
     $this->assertThat(trim($q->update), $this->equalTo('UPDATE #__foo'), 'Tests the update element is set correctly.');
 }