def METHOD_NAME(self, mock_get_team_submission):
    mock_get_team_submission.side_effect = TeamSubmissionInternalError
    with self.assertRaises(JsonHandlerError) as error_context:
        self.wrapped_function(self.mock_self, self.valid_data)
    # NOTE - The team API is slightly different, a non-UUID is
    # handled as an internal error instead of a request error
    self.mock_function.assert_not_called()
    self.assertEqual(error_context.exception.status_code, 500)
    self.assertEqual(error_context.exception.message, 'Internal error getting submission info')