uopz_unset_mock
PECL uopz 5, PECL uopz 6, PECL uopz 7
uopz_unset_mock - Unset previously set mock
Manual
uopz_unset_mock(
string$class ): void
Unsets the previously set mock for class.
Parameters
- class
-
The name of the mocked class.
Return Values
No value is returned.
Exceptions and Errors
A RuntimeException is thrown, if no mock was previously set for class.