70 $this->_integrationTestsDir = realpath(
__DIR__ .
'/../../../../../../');
71 $this->_settings = $this->createMock(\
Magento\TestFramework\Bootstrap\Settings::class);
72 $this->_envBootstrap = $this->createPartialMock(
73 \
Magento\TestFramework\Bootstrap\Environment::class,
74 [
'emulateHttpRequest',
'emulateSession']
76 $this->_docBlockBootstrap = $this->getMockBuilder(\
Magento\TestFramework\Bootstrap\DocBlock::class)
77 ->setMethods([
'registerAnnotations'])
81 $this->createPartialMock(\
Magento\Framework\Profiler\Driver\Standard::class, [
'registerOutput']);
82 $this->_profilerBootstrap = $this->getMockBuilder(\
Magento\TestFramework\Bootstrap\Profiler::class)
83 ->setMethods([
'registerFileProfiler',
'registerBambooProfiler'])
84 ->setConstructorArgs([$profilerDriver])
87 $this->_shell = $this->createPartialMock(\
Magento\Framework\Shell::class, [
'execute']);
88 $this->application = $this->createMock(\
Magento\TestFramework\Application::class);
89 $this->memoryFactory = $this->createMock(\
Magento\TestFramework\Bootstrap\MemoryFactory::class);
90 $this->_object = new \Magento\TestFramework\Bootstrap(
93 $this->_docBlockBootstrap,
94 $this->_profilerBootstrap,
defined('TESTS_BP')||define('TESTS_BP' __DIR__