N98\Magento\Command\Developer\Module\Rewrite\ClassExistsCheckerTest::triggersFatalError PHP Method

triggersFatalError() public method

Document the condition in which the Varien_Autoload auto-loader causes a fatal error
public triggersFatalError ( )
    public function triggersFatalError()
    {
        $this->markTestSkipped('This test can not be run in group as it causes a fatal error');
        // fatal error is caused with plain class_exists on non-dynamic definition with inexistent parent via autoloader
        $unload = $this->create($this->getAutoloader());
        $reset = $this->noErrorExceptions(false);
        $result = class_exists('Le_Foo_Le_Bar');
        $this->fail('Fatal error must have been triggered in the line above.');
    }