示例#1
0
 public function testCreateInstanceWithoutSchemaParam()
 {
     $table = new Table('foo');
     $this->assertEquals('foo', $table->getName());
     $schema = new Schema('public');
     $expected = $schema->getName();
     $this->assertEquals($expected, $table->getSchema()->getName());
 }
示例#2
0
 public function testCreateInstanceWithSchemaName()
 {
     $schema = new Schema('foo');
     $this->assertEquals('foo', $schema->getName());
 }