How do you test features that involve real-time notifications?

Technical