Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit a44e7cd

Browse files
committed
Use namespaced PHPUnits object invocation mock
1 parent 61ad262 commit a44e7cd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/Magento/Framework/TestFramework/Test/Unit/Unit/Matcher/MethodInvokedAtIndexTest.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@
66
namespace Magento\Framework\TestFramework\Test\Unit\Unit\Matcher;
77

88
use Magento\Framework\TestFramework\Unit\Matcher\MethodInvokedAtIndex;
9+
use PHPUnit\Framework\MockObject\Invocation\ObjectInvocation;
910

1011
class MethodInvokedAtIndexTest extends \PHPUnit\Framework\TestCase
1112
{
1213
public function testMatches()
1314
{
14-
$invocationObject = new \PHPUnit_Framework_MockObject_Invocation_Object(
15+
$invocationObject = new ObjectInvocation(
1516
'ClassName',
1617
'ValidMethodName',
1718
[],

0 commit comments

Comments
 (0)