Definition at line 15 of file AppConfigTest.php.
◆ setUp()
Definition at line 22 of file AppConfigTest.php.
24 $this->model = new \Magento\TestFramework\Isolation\AppConfig();
◆ tearDown()
◆ testStartTestEndTest()
Definition at line 32 of file AppConfigTest.php.
34 $test = $this->getMockBuilder(\PHPUnit\Framework\TestCase::class)
35 ->disableOriginalConstructor()
37 $modelReflection = new \ReflectionClass($this->model);
38 $testAppConfigProperty = $modelReflection->getProperty(
'testAppConfig');
39 $testAppConfigProperty->setAccessible(
true);
40 $testAppConfigMock = $this->getMockBuilder(\
Magento\TestFramework\
App\Config::class)
41 ->disableOriginalConstructor()
43 $testAppConfigProperty->setValue($this->model, $testAppConfigMock);
44 $testAppConfigMock->expects($this->once())
46 $this->model->startTest($test);
The documentation for this class was generated from the following file:
- vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Isolation/AppConfigTest.php