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