/opt/cpanel/ea-wappspector/vendor/mikey179/vfsstream/src/test
Edit: /opt/cpanel/ea-wappspector/vendor/mikey179/vfsstream/src/test/bootstrap.php (1728B)
expectException($exception);
} elseif (method_exists($this, 'setExpectedException')) {
$this->setExpectedException($exception);
}
}
// A BC hack to get handle the deprecation of this method in PHPUnit
public function bc_getMock($originalClassName, $methods = array(), array $arguments = array(), $mockClassName = '', $callOriginalConstructor = true, $callOriginalClone = true, $callAutoload = true, $cloneArguments = false, $callOriginalMethods = false, $proxyTarget = null)
{
if (method_exists($this, "getMockBuilder")) {
return $this
->getMockBuilder($originalClassName)
->setMethods($methods)
->getMock()
;
}
return parent::getMock($originalClassName, $methods, $arguments, $mockClassName, $callOriginalConstructor, $callOriginalClone, $callAutoload, $cloneArguments, $callOriginalMethods, $proxyTarget);
}
}