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