public function testTimestampables() { $websiteEntity = new WebsiteEntity(); $websiteEntity->populate($this->website); $websiteEntity->setCreatedAt($this->time); $websiteEntity->setUpdatedAt($this->time); $this->assertEquals($this->time, $websiteEntity->getCreatedAt()); $this->assertEquals($this->time, $websiteEntity->getUpdatedAt()); unset($websiteEntity); }