def METHOD_NAME(self):
    setup_jcc()
    components = FormDefinitionFactory.build(is_appointment=True).configuration[
        "components"
    ]
    submission = SubmissionFactory.from_components(
        completed=True,
        form__registration_backend="",
        components_list=components,
        submitted_data={"product": {"identifier": "79", "name": "Paspoort"}},
    )
    with self.assertRaises(AppointmentRegistrationFailed):
        on_completion(submission.id)