function it_should_provide_time_if_set($example) { $this->beConstructedWith($example, $time = time()); $this->getTime()->shouldReturn($time); }