def METHOD_NAME(
    self,
    mock_get_job_execution_status,
    mock_request,
    mock_deserialize,
    mock_access_token,
):
    mock_get_job_execution_status.return_value = DataJobExecution(
        status="platform_error"
    )
    mock_request.return_value = DummyLogsResponse()
    with self.assertRaises(VDKJobExecutionException) as e:
        self.sensor.poke(context={})
    mock_access_token.assert_called_once()
    self.assertEqual(
        str(e.exception),
        "Job execution test_id has failed due to a platform error. Check the job execution logs above for more information.",
    )