def METHOD_NAME(cls):
    harvester1 = models.Harvester.objects.create(
        remote_url="http://fake1.com", name="harvester1", default_owner=cls.user, harvester_type=cls.harvester_type
    )
    harvester2 = models.Harvester.objects.create(
        remote_url="http://fake2.com", name="harvester2", default_owner=cls.user, harvester_type=cls.harvester_type
    )
    cls.harvesters = [harvester1, harvester2]
    harvester_resource1 = models.HarvestableResource.objects.create(
        unique_identifier="resource_1",
        title="resource 1",
        harvester=harvester1,
        last_refreshed=datetime.datetime.now(),
    )
    harvester_resource2 = models.HarvestableResource.objects.create(
        unique_identifier="resource_2",
        title="resource 2",
        harvester=harvester2,
        last_refreshed=datetime.datetime.now(),
    )
    cls.resources = {
        harvester1.id: harvester_resource1,
        harvester2.id: harvester_resource2,
    }
    session1 = models.AsynchronousHarvestingSession.objects.create(
        harvester=harvester1, session_type=models.AsynchronousHarvestingSession.TYPE_HARVESTING, records_done=10
    )
    session2 = models.AsynchronousHarvestingSession.objects.create(
        harvester=harvester2, session_type=models.AsynchronousHarvestingSession.TYPE_HARVESTING, records_done=5
    )
    cls.sessions = [session1, session2]