예제 #1
0
파일: GroupTest.php 프로젝트: cobase/cobase
 /**
  * @test
  *
  * @group entity
  * @group group-entity
  */
 public function testSetUpdatedValue()
 {
     $group = new Group();
     sleep(1);
     $group->setUpdated(new \DateTime());
     $this->assertNotNull($group->getUpdated());
     $this->assertNotNull($group->getCreated());
     $this->assertNotEquals($group->getCreated(), $group->getUpdated());
 }