The `shouldReceive` method is a feature provided by the Laravel PHP framework's `App` facade in the Illuminate\Support\Facades namespace. This method allows you to mock a service or class dependency using the Laravel mocking feature and specify that particular methods should be called on the mock object during testing. It helps in controlling the behavior of the mock object and asserting that specific interactions occur between objects in the application.
PHP Illuminate\Support\Facades App::shouldReceive - 30 examples found. These are the top rated real world PHP examples of Illuminate\Support\Facades\App::shouldReceive extracted from open source projects. You can rate examples to help us improve the quality of examples.