20 private $interceptionsListMock;
24 $this->configMock = $this->getMockBuilder(\
Magento\Framework\Interception\
Config\Config::class)
26 ->disableOriginalConstructor()
28 $this->interceptionsListMock = $this->getMockBuilder(
32 ->disableOriginalConstructor()
41 $this->configMock->expects($this->never())
42 ->method(
'initialize');
44 $this->assertNull($operation->doOperation());
52 'VarGeneration\Class',
63 $this->interceptionsListMock->expects($this->any())
67 [
'lib', [
'Library\Class']],
68 [
'app', [
'Application\Class']],
69 [
'generation', [
'VarGeneration\Class']],
70 [
'appgeneration', [
'AppGeneration\Class']]
75 $this->configMock->expects($this->once())
76 ->method(
'initialize')
79 $this->assertNull($operation->doOperation());
testDoOperationEmptyData()
testDoOperationInitializeWithDefinitions()