referrerpolicy=no-referrer-when-downgrade
pub fn message_dispatch_routing_works<Runtime, AllPalletsWithoutSystem, XcmConfig, HrmpChannelOpener, MessagesPalletInstance, RuntimeNetwork, BridgedNetwork, NetworkDistanceAsParentCount>(
    collator_session_key: CollatorSessionKeys<Runtime>,
    slot_durations: SlotDurations,
    runtime_para_id: u32,
    sibling_parachain_id: u32,
    unwrap_cumulus_pallet_parachain_system_event: Box<dyn Fn(Vec<u8>) -> Option<Event<Runtime>>>,
    unwrap_cumulus_pallet_xcmp_queue_event: Box<dyn Fn(Vec<u8>) -> Option<Event<Runtime>>>,
    prepare_configuration: impl Fn(),
)
where Runtime: BasicParachainRuntime + Config + BridgeMessagesConfig<MessagesPalletInstance, InboundPayload = XcmAsPlainPayload>, AllPalletsWithoutSystem: OnInitialize<BlockNumberFor<Runtime>> + OnFinalize<BlockNumberFor<Runtime>>, AccountIdOf<Runtime>: From<AccountId32> + Into<<<Runtime as Config>::RuntimeOrigin as OriginTrait>::AccountId>, XcmConfig: Config, MessagesPalletInstance: 'static, HrmpChannelOpener: ProvideInherent<Call = Call<Runtime>>, RuntimeNetwork: Get<NetworkId>, BridgedNetwork: Get<NetworkId>, NetworkDistanceAsParentCount: Get<u8>,
Expand description

Test-case makes sure that Runtime can route XCM messages received in inbound queue, We just test here MessageDispatch configuration. We expect that runtime can route messages: 1. to Parent (relay chain) 2. to Sibling parachain