/** * Test for the castAsChar method. * * @return void * * @since 1.0 */ public function testCastAsChar() { $q = new PostgresqlQuery($this->dbo); $this->assertThat($q->castAsChar('123'), $this->equalTo('123::text'), 'The default castAsChar behaviour is quote the input.'); }