pub fn assert_event_matches_msg<E: Clone + Into<TimelineEvent>>( event: &E, expected: &str, )
testing
Checks that an event is a message-like text event with the given text.