示例#1
0
 /**
  * @covers Model::resetModified
  */
 public function testResetModified()
 {
     $this->assertFalse($this->instance->isModified());
     $this->instance->setColumnValue('created', time());
     $this->assertTrue($this->instance->isModified());
     $this->instance->resetModified();
     $this->assertFalse($this->instance->isModified());
 }