public it_should_provide_time_if_set ( PHPSpec2\Loader\Node\Example $example ) | ||
$example | PHPSpec2\Loader\Node\Example |
function it_should_provide_time_if_set($example)
{
$this->beConstructedWith($example, $time = time());
$this->getTime()->shouldReturn($time);
}