def METHOD_NAME(self, share_owner: ShareOwner, expected_messages):
    self.login_as_member_office_user()
    response = self.client.get(
        reverse("welcomedesk:welcome_desk_share_owner", args=[share_owner.id])
    )
    response_content = response.content.decode()
    for message in self.MESSAGES:
        if message in expected_messages:
            self.assertIn(
                message,
                response_content,
                f"Message {message} should be showing for user {UserUtils.build_display_name(share_owner, UserUtils.DISPLAY_NAME_TYPE_FULL)}",
            )
        else:
            self.assertNotIn(
                message,
                response_content,
                f"Message {message} should not be showing for user {UserUtils.build_display_name(share_owner, UserUtils.DISPLAY_NAME_TYPE_FULL)}",
            )