예제 #1
0
 /**
  * Created
  */
 public function testCreated()
 {
     $oProperties = new DocInfo();
     $oProperties->setCreated();
     $this->assertEquals(time(), $oProperties->getCreated());
     $iTime = time() + 3600;
     $oProperties->setCreated($iTime);
     $this->assertEquals($iTime, $oProperties->getCreated());
 }