/**
  * Test for GROUP clause.
  *
  * @return  void
  *
  * @since   11.3
  */
 public function testGroup()
 {
     $q = new JDatabaseQueryPostgresql($this->dbo);
     $this->assertThat($q->group('foo'), $this->identicalTo($q), 'Tests chaining.');
     $this->assertThat(trim($q->group), $this->equalTo('GROUP BY foo'), 'Tests rendered value.');
     // Add another column.
     $q->group('bar');
     $this->assertThat(trim($q->group), $this->equalTo('GROUP BY foo,bar'), 'Tests rendered value after second use.');
 }