Commit e3c4c9ba authored by Simon Welsh's avatar Simon Welsh

Update TestCase

parent 5227cc47
......@@ -60,8 +60,8 @@ abstract class PHPUnit_Framework_TestCase extends PHPUnit_Framework_Assert
public function setDependencyInput(
array<string, mixed> $dependencyInput,
): void;
public function setDisallowChangesToGlobalState(
bool $disallowChangesToGlobalState,
public function setbeStrictAboutChangesToGlobalState(
bool $beStrictAboutChangeToGlobalState,
): void;
public function setExpectedException<T>(
?classname<T> $exceptionName,
......@@ -156,6 +156,9 @@ abstract class PHPUnit_Framework_TestCase extends PHPUnit_Framework_Assert
) /*: PHPUnit_Framework_MockObject_MockObject*/;
protected function getMockObjectGenerator(
) /*: PHPUnit_Framework_MockObject_Generator*/;
public function getMockWithoutInvokingTheOriginalConstructor<T>(
classname<T> $originalClassName,
) /*: PHPUnit_Framework_MockObject_MockObject */;
protected function getObjectForTrait<T>(
classname<T> $traitName,
array $arguments = array(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment