public function setUp()
{
$this->_filesystem = PHPUnit_Extension_FunctionMocker::start($this, 'Symfony\\Component\\Filesystem')->mockFunction('file_exists')->mockFunction('is_dir')->mockFunction('is_readable')->mockFunction('is_writable')->mockFunction('rmdir')->mockFunction('touch')->mockFunction('unlink')->getMock();
$this->_validation = PHPUnit_Extension_FunctionMocker::start($this, 'Bolt\\Configuration\\Validation')->mockFunction('extension_loaded')->mockFunction('file_exists')->mockFunction('get_magic_quotes_gpc')->mockFunction('ini_get')->mockFunction('is_dir')->mockFunction('is_readable')->mockFunction('is_writable')->mockFunction('rmdir')->mockFunction('touch')->mockFunction('unlink')->getMock();
$this->extensionController = $this->prophesize(Controller\Exception::class);
$this->config = $this->prophesize(Config::class);
$this->resourceManager = $this->prophesize(ResourceManager::class);
$this->validator = new Validator($this->extensionController->reveal(), $this->config->reveal(), $this->resourceManager->reveal());
}