Definition at line 12 of file AppIsolationTest.php.
◆ setUp()
Definition at line 24 of file AppIsolationTest.php.
26 $this->_application = $this->createPartialMock(\
Magento\TestFramework\Application::class, [
'reinitialize']);
27 $this->_object = new \Magento\TestFramework\Annotation\AppIsolation($this->_application);
◆ tearDown()
◆ testEndTestIsolationAmbiguous()
testEndTestIsolationAmbiguous |
( |
| ) |
|
@magentoAppIsolation enabled @magentoAppIsolation disabled @expectedException \Magento\Framework\Exception\LocalizedException
Definition at line 56 of file AppIsolationTest.php.
58 $this->_object->endTest($this);
◆ testEndTestIsolationDefault()
testEndTestIsolationDefault |
( |
| ) |
|
Definition at line 61 of file AppIsolationTest.php.
63 $this->_application->expects($this->never())->method(
'reinitialize');
64 $this->_object->endTest($this);
◆ testEndTestIsolationDisabled()
testEndTestIsolationDisabled |
( |
| ) |
|
@magentoAppIsolation disabled
Definition at line 78 of file AppIsolationTest.php.
80 $this->_application->expects($this->never())->method(
'reinitialize');
81 $this->_object->endTest($this);
◆ testEndTestIsolationEnabled()
testEndTestIsolationEnabled |
( |
| ) |
|
@magentoAppIsolation enabled
Definition at line 87 of file AppIsolationTest.php.
89 $this->_application->expects($this->once())->method(
'reinitialize');
90 $this->_object->endTest($this);
◆ testEndTestIsolationInvalid()
testEndTestIsolationInvalid |
( |
| ) |
|
@magentoAppIsolation invalid @expectedException \Magento\Framework\Exception\LocalizedException
Definition at line 46 of file AppIsolationTest.php.
48 $this->_object->endTest($this);
◆ testStartTestSuite()
Definition at line 36 of file AppIsolationTest.php.
38 $this->_application->expects($this->once())->method(
'reinitialize');
39 $this->_object->startTestSuite();
◆ $_application
◆ $_object
The documentation for this class was generated from the following file:
- vendor/magento/magento2-base/dev/tests/integration/framework/tests/unit/testsuite/Magento/Test/Annotation/AppIsolationTest.php