Exemplo n.º 1
0
 /**
  * @covers Model::isNew
  * @covers Model::setNew
  */
 public function testNew()
 {
     $this->assertTrue($this->instance->isNew());
     $this->instance->setColumnValue('id', 1);
     $this->assertTrue($this->instance->isNew());
     $this->instance->setNew(false);
     $this->assertFalse($this->instance->isNew());
 }