/** * @covers Kunstmaan\NodeBundle\Entity\NodeVersion::setUpdated * @covers Kunstmaan\NodeBundle\Entity\NodeVersion::getUpdated */ public function testSetGetUpdated() { $updated = new \DateTime(); $this->object->setUpdated($updated); $this->assertEquals($updated, $this->object->getUpdated()); }