Beispiel #1
0
 /**
  * @test
  */
 public function testIsDirty()
 {
     $storage = new Record(['nickname' => 'foo']);
     $this->assertEquals(false, $storage->isDirty());
     $storage->nickname = 'bar';
     $this->assertEquals('bar', $storage->nickname);
     $this->assertEquals(true, $storage->isDirty());
 }
 /**
  * @return bool
  */
 public function isDirty()
 {
     return $this->record->isDirty();
 }