jsiefer/class-mocker (packagist): Can mock entire frameworks or namespaces
Keywords: testing|unit test|phpunit|mocking