public function theTimeIs($arg1, $arg2) { $this->clock->getTime()->willReturn(new \DateTimeImmutable('@' . mktime($arg1, $arg2))); }