/**
  * Test for hour extraction from date.
  *
  * @return  void
  *
  * @since   12.1
  */
 public function test__toStringHour()
 {
     $q = new JDatabaseQueryInspector($this->dbo);
     $q->select($q->hour($q->quoteName('col')))->from('table');
     $this->assertThat((string) $q, $this->equalTo(PHP_EOL . "SELECT HOUR(`col`)" . PHP_EOL . "FROM table"));
 }