def METHOD_NAME(cls):
    cls.panel = WhatsNewInWagtailVersionPanel()
    cls.dismissible_id = cls.panel.get_dismissible_id()
    cls.request_factory = RequestFactory()
    cls.user = cls.create_user(username="tester")
    cls.profile = UserProfile.get_for_user(cls.user)