public function testForMySQLKeywords() { //Let's make sure to start without a table DinklyBuilder::dropTable('unit_test', 'TestUser'); //Grab a model and turn it into an array to be manipulated in tests that follow $model_yaml = DinklyBuilder::parseModelYaml('unit_test', 'TestUser', false); //Create a table with a column named after a MySQL keyword $model_yaml['registry'][] = array('key' => array('type' => 'int', 'allow_null' => true)); $this->assertTrue(DinklyBuilder::buildTable('unit_test', 'TestUser', $model_yaml, false)); }