referrerpolicy=no-referrer-when-downgrade
pub fn open_and_close_bridge_works<Runtime, XcmOverBridgePalletInstance, LocationToAccountId, TokenLocation>(
    collator_session_key: CollatorSessionKeys<Runtime>,
    runtime_para_id: u32,
    expected_source: Location,
    destination: InteriorLocation,
    origin_with_origin_kind: (Location, OriginKind),
    is_paid_xcm_execution: bool,
)
where Runtime: BasicParachainRuntime + BridgeXcmOverBridgeConfig<XcmOverBridgePalletInstance>, XcmOverBridgePalletInstance: 'static, <Runtime as Config>::RuntimeCall: GetDispatchInfo + From<BridgeXcmOverBridgeCall<Runtime, XcmOverBridgePalletInstance>>, <Runtime as Config>::Balance: From<<<Runtime as Config<<Runtime as Config<XcmOverBridgePalletInstance>>::BridgeMessagesPalletInstance>>::ThisChain as Chain>::Balance> + From<u128>, <<Runtime as Config<<Runtime as Config<XcmOverBridgePalletInstance>>::BridgeMessagesPalletInstance>>::ThisChain as Chain>::AccountId: From<<Runtime as Config>::AccountId>, LocationToAccountId: ConvertLocation<AccountIdOf<Runtime>>, TokenLocation: Get<Location>,
Expand description

Test-case makes sure that Runtime can open/close bridges.