コード例 #1
0
 /**
  * Tests the quoteName method.
  *
  * @param   boolean  $quoted    The value of the quoted argument.
  * @param   string   $expected  The expected result.
  *
  * @return  void
  *
  * @since   1.0
  * @dataProvider  dataTestNullDate
  */
 public function testNullDate($quoted, $expected)
 {
     $q = new PostgresqlQuery($this->dbo);
     $this->assertThat($q->nullDate($quoted), $this->equalTo($expected), 'The nullDate method should be a proxy for the JDatabase::getNullDate method.');
 }