def METHOD_NAME(self, pyramid_request, group_list_service):
    pyramid_request.user = None
    group_list_service.associated_groups.return_value = []
    result = navbar_data(pyramid_request)
    assert result == Any.dict.containing(
        {
            "groups_menu_items": [],
            "groups_suggestions": [],
            "username": None,
            "username_url": None,
        }
    )