def METHOD_NAME(self, get_cases):
    get_cases.return_value = [self.case_1, self.case_2]
    result = get_relevant_case_updates_from_form_json(
        self.domain,
        _get_form_json(),
        ['paciente'],
        self.extra_fields
    )
    self.assertEqual(len(result), 2)