You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: deliver_spec.rb
    path of file: ./repos/zammad/spec/services/service/ticket/article/type/whatsapp_message
    
    the code of the file until where you have to start completion: # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/

require 'rails_helper'

RSpec.describe Service::Ticket::Article::Type::WhatsappMessage::Deliver do
  subject(:service) { described
    
  def expected_failure_article_note_data(error_message)
    {
      'content_type' => 'text/plain',
      'body'         => "Unable to send whatsapp message: #{error_message}",
      'internal'     => true,
      'sender_id'    => Ticket::Article::Sender.find_by(name: 'System').id,
      'type_id'      => Ticket::Article::Type.find_by(name: 'note').id,
      'preferences'  => {
        'delivery_article_id_related' => article.id,
        'delivery_message'            => true,
      },
    }
  end