public function testPreUpdate() { $this->assertNull($this->website->getUpdatedAt()); $this->website->preUpdate(); $this->assertInstanceOf('\\DateTime', $this->website->getUpdatedAt()); }