diff --git a/tests/MockObjectProxyTest.php b/tests/MockObjectProxyTest.php index 54c8c56..593b15c 100644 --- a/tests/MockObjectProxyTest.php +++ b/tests/MockObjectProxyTest.php @@ -60,7 +60,7 @@ public function testExpects() if (class_exists(\PHPUnit\Runner\Version::class) && version_compare(\PHPUnit\Runner\Version::id(), '8.4.0') >= 0 ) { - $invocationHandler = new InvocationHandler([$methods], false); + $invocationHandler = new InvocationHandler([$methods], false, true); $invocationMocker = $invocationHandler->expects($matcher); } else { $invocationMocker = new InvocationMocker(