public function test7199SecondsReturns2HoursWithPrecision2000()
 {
     $readableDuration = new ReadableDuration();
     $readableDuration->setValueInSeconds(7199);
     $this->assertEquals(array(array('unit' => 'hour', 'value' => 2)), $readableDuration->getInMostAppropriateUnits(2));
 }
 public function test4000SecondsReturns1Hour()
 {
     $readableDuration = new ReadableDuration();
     $readableDuration->setValueInSeconds(4000);
     $this->assertEquals(array('value' => 1, 'units' => 'hour'), $readableDuration->getInMostAppropriateUnits());
 }