/**
  * Tests the JDatabaseQuery::from method.
  *
  * @return  void
  *
  * @since   11.3
  */
 public function testFrom()
 {
     $q = new JDatabaseQueryInspector($this->dbo);
     $this->assertThat($q->from('#__foo'), $this->identicalTo($q), 'Tests chaining.');
     $this->assertThat(trim($q->from), $this->equalTo('FROM #__foo'), 'Tests rendered value.');
     // Add another column.
     $q->from('#__bar');
     $this->assertThat(trim($q->from), $this->equalTo('FROM #__foo,#__bar'), 'Tests rendered value after second use.');
 }