16 [\
Magento\Framework\Interception\Fixture\Intercepted::class => [
19 'instance' => \
Magento\Framework\Interception\Fixture\Intercepted\FirstPlugin::class,
22 'instance' => \
Magento\Framework\Interception\Fixture\Intercepted\Plugin::class,
35 $subject = $this->_objectManager->create(\
Magento\Framework\Interception\Fixture\Intercepted::class);
36 $this->assertEquals(
'<X><P:bX/></X>', $subject->X(
'test'));
41 $subject = $this->_objectManager->create(\
Magento\Framework\Interception\Fixture\Intercepted::class);
42 $this->assertEquals(
'<F:Y>test<F:Y/>', $subject->Y(
'test'));
47 $subject = $this->_objectManager->create(\
Magento\Framework\Interception\Fixture\Intercepted::class);
48 $this->assertEquals(
'<P:aZ/>', $subject->Z(
'test'));
53 $subject = $this->_objectManager->create(\
Magento\Framework\Interception\Fixture\Intercepted::class);
54 $this->assertEquals(
'<F:V><F:bV/><F:V/>', $subject->V(
'test'));
59 $subject = $this->_objectManager->create(\
Magento\Framework\Interception\Fixture\Intercepted::class);
60 $this->assertEquals(
'<F:aW/>', $subject->W(
'test'));
testPluginBeforeAroundAfterWins()
setUpInterceptionConfig($pluginConfig)
testPluginBeforeAroundWins()