getConnection()->schema; foreach ($values as $value) { $this->assertEquals($value[1], $schema->getPdoType($value[0])); } fclose($fp); } public function testBooleanDefaultValues() { /* @var $schema Schema */ $schema = $this->getConnection()->schema; $table = $schema->getTableSchema('bool_values'); $this->assertSame(true, $table->getColumn('default_true')->defaultValue); $this->assertSame(false, $table->getColumn('default_false')->defaultValue); } public function testFindSchemaNames() { $schema = $this->getConnection()->schema; $this->assertEquals(3, count($schema->getSchemaNames())); } }