/** * @return array */ public function provideSql92ReservedWords() { $reserved = new SqlReservedWords(); $words = $reserved->getWords(); $params = array(); foreach ($words as $word) { $params[] = array($word); } return $params; }
/** * @return null */ public function testIsReservedFalseCases() { $this->assertFalse($this->reserved->isReserved('')); $this->assertFalse($this->reserved->isReserved(array(1, 3, 4))); $this->assertFalse($this->reserved->isReserved(new StdClass())); $this->assertFalse($this->reserved->isReserved(12345)); $this->assertFalse($this->reserved->isReserved('i_am_not_reserved')); }