phpmock\Mock::disableAll PHP Method

disableAll() public static method

Disable all mocks.
See also: Mock::enable()
See also: Mock::disable()
public static disableAll ( )
    public static function disableAll()
    {
        MockRegistry::getInstance()->unregisterAll();
    }

Usage Example

Example #1
1
 protected function disableMocks()
 {
     Mock::disableAll();
 }
All Usage Examples Of phpmock\Mock::disableAll