/** * @return null */ public function testIsReservedKnownWords() { $words = $this->reserved->getWords(); $this->assertInternalType('array', $words); $this->assertGreaterThan(0, $words); foreach ($words as $word) { $this->assertTrue($this->reserved->isReserved($word), "({$word}) should be true"); } }
/** * @return array */ public function provideSql92ReservedWords() { $reserved = new SqlReservedWords(); $words = $reserved->getWords(); $params = array(); foreach ($words as $word) { $params[] = array($word); } return $params; }