/**
  * @AfterScenario
  */
 public function cleanTimeTraveler(\Behat\Behat\Event\ScenarioEvent $event)
 {
     TimeTraveler::comeBack();
 }
 /**
  * @dataProvider gettimeofdayDataProvider
  */
 public function testGettimeofday($currentDate, $roundSec, $timezone)
 {
     ini_set('date.timezone', $timezone);
     $this->if(TestedClass::enable())->and(TestedClass::moveTo($currentDate))->float(gettimeofday(true))->isNearlyEqualTo((double) $roundSec, pow(10, -9))->then($data = gettimeofday(false))->array($data)->integer($data['sec'])->isEqualTo($roundSec);
 }