// Getting a value from the configuration file $debug = Config::get('app.debug'); // Mocking a configuration value during testing Config::shouldReceive('get')->with('app.debug')->andReturn(true);In the above example, we retrieve the debug value from the app configuration file using the Config facade. In the second line, we use shouldReceive() to mock the same config value during testing and return a true value. Package library: php illuminate.support.facades.