/**
  * Test for minute extraction from date.
  *
  * @return  void
  *
  * @since   12.1
  */
 public function test__toStringMinute()
 {
     $q = new JDatabaseQueryPostgresql($this->dbo);
     $q->select($q->minute($q->quoteName('col')))->from('table');
     $this->assertEquals(PHP_EOL . "SELECT EXTRACT (MINUTE FROM \"col\")" . PHP_EOL . "FROM table", (string) $q);
 }
 /**
  * Test for minute extraction from date.
  *
  * @return  void
  *
  * @since   12.1
  */
 public function test__toStringMinute()
 {
     $q = new JDatabaseQueryPostgresql($this->dbo);
     $q->select($q->minute($q->quoteName('col')))->from('table');
     $this->assertThat((string) $q, $this->equalTo("\nSELECT EXTRACT (MINUTE FROM \"col\")\nFROM table"));
 }