/**
* It should use the default values for mode and dest unit if null values are given.
*/
public function testDefaultValuesModeAndDestUnit()
{
$unit = new TimeUnit(TimeUnit::SECONDS, TimeUnit::MINUTES, TimeUnit::MODE_THROUGHPUT);
$this->assertEquals(TimeUnit::MINUTES, $unit->getDestUnit());
$this->assertEquals(TimeUnit::MODE_THROUGHPUT, $unit->getMode());
}