def METHOD_NAME(
    self, mock_get_solo, mock_AsyncResult
):
    mock_AsyncResult.return_value.state = states.SUCCESS
    mock_get_solo.return_value = GlobalConfiguration(
        submission_confirmation_template="""
        <p>This is some <span style="color: red;">inline styled</span> HTML.</p>
        """
    )
    submission = SubmissionFactory.create(
        completed=True, on_completion_task_ids=["123"], with_report=False
    )
    token = submission_status_token_generator.make_token(submission)
    check_status_url = reverse(
        "api:submission-status", kwargs={"uuid": submission.uuid, "token": token}
    )
    response = self.client.get(
        check_status_url, **{NONCE_HTTP_HEADER: self.csp_nonce}
    )
    self.assertEqual(response.status_code, status.HTTP_200_OK)
    confirmation_page = response.json()["confirmationPageContent"]
    html_id = f"nonce-{md5hash(self.csp_nonce)}-1234"
    expected = f"""
    <style nonce="{self.csp_nonce}">
        #{html_id} {{
            color: red;
        }}
    </style>
    <p>This is some <span id="{html_id}">inline styled</span> HTML.</p>
    """
    self.assertHTMLEqual(confirmation_page, expected)