Пример #1
0
 public function testUpdatedAt()
 {
     $this->assertNull($this->item->getUpdatedAt());
     $this->item->setUpdatedAt(new \DateTime('2013-01-01'));
     $this->assertEquals('2013-01-01', $this->item->getUpdatedAt()->format('Y-m-d'));
 }