protected function setUp()
{
$builder = new MockBuilder();
$builder->setNamespace(__NAMESPACE__)->setFunctionProvider(new FixedValueFunction(1234));
$this->environment = new MockEnvironment();
$this->environment->addMock($builder->setName("time")->build());
$this->environment->addMock($builder->setName("rand")->build());
}