Skip to content

Commit 7d44c20

Browse files
committed
MAGETWO-32870: [GITHUB] extra tests for current interception behavior #965
- Fixed license headers - Moved fields from GeneralTest to AbstractPlugin
1 parent 205a6e0 commit 7d44c20

File tree

3 files changed

+15
-17
lines changed

3 files changed

+15
-17
lines changed

dev/tests/integration/testsuite/Magento/Framework/Interception/AbstractPlugin.php

+13-4
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,27 @@
11
<?php
22
/**
3-
*
4-
* @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
3+
* Copyright © 2015 Magento. All rights reserved.
4+
* See COPYING.txt for license details.
55
*/
66
namespace Magento\Framework\Interception;
77

8-
use Magento\Framework\ObjectManager\Config\Config as ObjectManagerConfig;
9-
108
/**
119
* Class GeneralTest
1210
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1311
*/
1412
abstract class AbstractPlugin extends \PHPUnit_Framework_TestCase
1513
{
14+
15+
/**
16+
* @var \PHPUnit_Framework_MockObject_MockObject
17+
*/
18+
protected $_configReader;
19+
20+
/**
21+
* @var \Magento\Framework\ObjectManagerInterface
22+
*/
23+
protected $_objectManager;
24+
1625
public function setUpInterceptionConfig($pluginConfig)
1726
{
1827
$config = new \Magento\Framework\Interception\ObjectManager\Config\Developer();

dev/tests/integration/testsuite/Magento/Framework/Interception/GeneralTest.php

-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22
/**
3-
*
43
* Copyright © 2015 Magento. All rights reserved.
54
* See COPYING.txt for license details.
65
*/
@@ -12,16 +11,6 @@
1211
*/
1312
class GeneralTest extends AbstractPlugin
1413
{
15-
/**
16-
* @var \PHPUnit_Framework_MockObject_MockObject
17-
*/
18-
protected $_configReader;
19-
20-
/**
21-
* @var \Magento\Framework\ObjectManagerInterface
22-
*/
23-
protected $_objectManager;
24-
2514
public function setUp()
2615
{
2716
$this->setUpInterceptionConfig(

dev/tests/integration/testsuite/Magento/Framework/Interception/TwoPluginTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
*
4-
* @copyright Copyright (c) 2014 X.commerce, Inc. (http://www.magentocommerce.com)
3+
* Copyright © 2015 Magento. All rights reserved.
4+
* See COPYING.txt for license details.
55
*/
66
namespace Magento\Framework\Interception;
77

0 commit comments

Comments
 (0)