示例#1
0
 /**
  * @covers Time_DateTime::later_than
  */
 public function testLater_than()
 {
     $t = new Time_DateTime();
     $this->assertFalse($this->object->later_than($t));
     $t->sub(new DateInterval('P1D'));
     $this->assertTrue($this->object->later_than($t));
 }