Ejemplo n.º 1
0
 public function testOutdatedAt()
 {
     $entity = new EmailFolder();
     $this->assertFalse($entity->isOutdated());
     $date = new \DateTime();
     $entity->setOutdatedAt($date);
     $this->assertEquals($date, $entity->getOutdatedAt());
     $this->assertTrue($entity->isOutdated());
     $entity->setOutdatedAt(null);
     $this->assertFalse($entity->isOutdated());
 }