fn assert_last_event<T: Config<I>, I: 'static>(
    generic_event: <T as Config<I>>::RuntimeEvent
)