def METHOD_NAME(cls):
    super().METHOD_NAME()
    cls.domain = 'case-list-test'
    cls.user = WebUser(username='test@cchq.com', domains=[cls.domain])
    cls.user.domain_memberships = [DomainMembership(domain=cls.domain, role_id='admin')]
    cls.request_factory = RequestFactory()
    from corehq.apps.reports.tests.data.case_list_report_data import (
        dummy_case_list,
        dummy_user_list,
    )
    for user in dummy_user_list:
        user_obj = CouchUser.get_by_username(user['username'])
        if user_obj:
            user_obj.delete(cls.domain, deleted_by=None)
    cls.user_list = []
    for user in dummy_user_list:
        user_obj = CommCareUser.create(**user) if user['doc_type'] == 'CommcareUser'\
            else WebUser.create(**user)
        user_obj.save()
        cls.user_list.append(user_obj)
    cls.case_list = []
    for case in dummy_case_list:
        cls.case_list.append(CommCareCase(**case))
    cls._send_users_to_es()
    cls._send_cases_to_es()