Beispiel #1
0
 /**
  * Test the getUnitDuration method for greater than.
  *
  * @since 1.0
  */
 public function testGetUnitDurationGreater()
 {
     $controller1 = new ImageController();
     $controller2 = new ImageController();
     $controller1->setUnitEndTime(2006, 10, 30, 21, 15, 15);
     $controller2->setUnitEndTime(2005, 10, 30, 21, 15, 15);
     $this->assertTrue($controller1->getUnitDuration() > $controller2->getUnitDuration(), 'Test the getUnitDuration method for greater than');
 }