8 require_once
__DIR__ .
'/../../_files/app/code/Magento/SomeModule/Helper/Test.php';
9 require_once
__DIR__ .
'/../../_files/app/code/Magento/SomeModule/ElementFactory.php';
10 require_once
__DIR__ .
'/../../_files/app/code/Magento/SomeModule/Model/DoubleColon.php';
11 require_once
__DIR__ .
'/../../_files/app/code/Magento/SomeModule/Api/Data/SomeInterface.php';
40 $this->_model = new \Magento\Setup\Module\Di\Code\Scanner\PhpScanner($this->_logMock,
new TypeProcessor());
41 $this->_testDir = str_replace(
'\\',
'/', realpath(
__DIR__ .
'/../../') .
'/_files');
47 $this->_testDir .
'/app/code/Magento/SomeModule/Helper/Test.php',
48 $this->_testDir .
'/app/code/Magento/SomeModule/Model/DoubleColon.php',
49 $this->_testDir .
'/app/code/Magento/SomeModule/Api/Data/SomeInterface.php' 52 $this->_logMock->expects(
58 'Magento\SomeModule\Module\Factory',
59 'Invalid Factory for nonexistent class Magento\SomeModule\Module in file ' . $this->_testFiles[0]
61 $this->_logMock->expects(
67 'Magento\SomeModule\Element\Factory',
68 'Invalid Factory declaration for class Magento\SomeModule\Element in file ' . $this->_testFiles[0]
72 [
'\\' . \
Magento\Eav\Api\Data\AttributeExtensionInterface::class],
73 $this->_model->collectEntities($this->_testFiles)
defined('TESTS_BP')||define('TESTS_BP' __DIR__