protected function setUp() { $this->time = function () { return $this->currentTime; }; $this->currentTime = 1300000000; $this->condition = new TimeBasedTerminationCondition($this->time, new DateInterval('PT1800S')); }