def METHOD_NAME(self, claim=None, claim_id=None):
    if claim is None:
        claim_ids = CommCareCase.objects.get_case_ids_in_domain(DOMAIN, CLAIM_CASE_TYPE)
        self.assertEqual(len(claim_ids), 1)
        claim = CommCareCase.objects.get_case(claim_ids[0], DOMAIN)
    if claim_id:
        self.assertEqual(claim.case_id, claim_id)
    self.assertEqual(claim.name, self.host_case_name)
    self.assertEqual(claim.owner_id, self.user.user_id)
    self.assertEqual([index_to_dict(i) for i in claim.indices], [{
        'identifier': 'host',
        'referenced_type': 'person',
        'referenced_id': self.host_case_id,
        'relationship': 'extension',
    }])