示例#1
0
 public function testResetPrimaryKey()
 {
     $test = new UnitTest();
     $this->assertEquals('id', $test->primaryKey());
     $test->setPrimaryKey('asdf');
     $this->assertEquals('asdf', $test->primaryKey());
     $test->resetPrimaryKey();
     $this->assertEquals('id', $test->primaryKey());
 }