def METHOD_NAME(make_stubber, make_queue):
    """Test that deleting a message that doesn't exist raises an exception."""
    sqs_stubber = make_stubber(message_wrapper.sqs.meta.client)
    queue = make_queue(sqs_stubber, message_wrapper.sqs)
    message = queue.Message(receipt_handle='fake-handle')
    sqs_stubber.stub_delete_message(queue.url, message,
                                    error_code='ReceiptHandleIsInvalid')
    with pytest.raises(ClientError) as exc_info:
        message.delete()
    assert exc_info.value.response['Error']['Code'] == 'ReceiptHandleIsInvalid'