Integrate Chainlink Local into your project
If you use Foundry:
forge install smartcontractkit/chainlink-local@v0.2.4
and then set remappings to: @chainlink/local/=lib/chainlink-local/ in either remappings.txt or foundry.toml file
Import the CCIPLocalSimulator contract from the @chainlink/local package:
import {CCIPLocalSimulator} from "@chainlink/local@0.2.4/src/ccip/CCIPLocalSimulator.sol";