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