8 use \Magento\Framework\App\State;
21 $this->layout = $layoutFactory->create();
22 $layoutElement = new \Magento\Framework\View\Layout\Element(
23 __DIR__ .
'/_files/layout_with_exceptions/layout.xml',
28 $this->layout->setXml($layoutElement);
38 $this->layout->generateElements();
49 $this->layout->generateElements();
51 $this->layout->addOutputElement(
'block.with.broken.constructor');
52 $this->layout->addOutputElement(
'block.with.broken.layout');
53 $this->layout->addOutputElement(
'block.with.broken.action');
55 $this->assertEmpty($this->layout->getOutput());
testProcessWithExceptions()
defined('TESTS_BP')||define('TESTS_BP' __DIR__
testProcessWithExceptionsDeveloperMode()
static getObjectManager()