Example #1
0
 public function testIdGeneratorType()
 {
     $table = new Table("foo");
     $table->setIdGeneratorType(Table::ID_IDENTITY);
     $this->assertTrue($table->isIdGeneratorIdentity());
     $table->setIdGeneratorType(Table::ID_SEQUENCE);
     $this->assertTrue($table->isIdGeneratorSequence());
 }