/**
  * @covers Core\Entity\IndependentWork::refreshTimeStamps
  */
 public function testRefreshTimeStamps()
 {
     $independentwork = new IndependentWork($this->mockEntityManager);
     $independentwork->refreshTimeStamps();
     $createdAt = $independentwork->getCreatedAt();
     $this->assertNotNull($createdAt);
     $this->assertNull($independentwork->getUpdatedAt());
     $independentwork->refreshTimeStamps();
     $updatedAt = $independentwork->getUpdatedAt();
     $this->assertNotNull($updatedAt);
     $this->assertEquals($createdAt, $independentwork->getCreatedAt());
 }
 /**
  * {@inheritDoc}
  */
 public function refreshTimeStamps()
 {
     $this->__initializer__ && $this->__initializer__->__invoke($this, 'refreshTimeStamps', array());
     return parent::refreshTimeStamps();
 }