 true,
          "option_values"=> [OPTION_VALUE],
          "images"=> [IMAGE]
       }

    PRODUCT_PROPERTY ||=
      {
        "id"=>1,
        "product_id"=>1,
        "property_id"=>1,
        "value"=>"Tote",
        "property_name"=>"bag_type"
       }

    MESSAGE ||= {
     'message' =>'some:event',
     'message_id' => ':guid',
      'payload' => {}
    }

    SYNC_MESSAGE_RESPONSE ||= {
     'message_id' => ':guid',
     'messages' => [],
      'events' => []
    }

    ASYNC_MESSAGE_RESPONSE ||= {
     'message_id' => ':guid',
      'delay' => 6000,
      'update_url' => 'http://example.com/poll'
    }

    UPDATE_REQUEST ||= {
     'message_id' => ':guid'
    }

    NEW_PRODUCT_EVENT ||=
      {
        "event" => 'product:new',
        "event_id" => '510bfe8e7575e41e41000017',
        "payload" => {
          "id"=>1,
          "name"=>"<NAME>",
          "description"=> "Description",
          "price"=>"15.99",
          "available_on"=>"2012-10-17T03:43:57Z",
          "permalink"=>"ruby-on-rails-tote",
          "count_on_hand"=>10,
          "meta_description"=>nil,
          "meta_keywords"=>nil }
      }

    NEW_PRODUCT_EVENT_RESPONSE ||= {
      "event_id" => '510bfe8e7575e41e41000004',
      "result" => 'OK',
      "details" => {
        "message" => "Product Added"
      }
    }

    NEW_PRODUCT_PUSH ||=
      {
        "message"=> 'product:new',
        "payload" => {
          "id"=>1123,
          "name"=>"<NAME>",
          "description"=> "Description",
          "price"=>"15.99",
          "available_on"=>"2012-10-17T03:43:57Z",
          "permalink"=>"ruby-on-rails-tote",
          "meta_description"=>nil,
          "meta_keywords"=>nil
        }
      }

    temp ||= NEW_PRODUCT_PUSH.clone
    temp['message_id'] = 'guid'
    NEW_PRODUCT_PUSH_RESPONSE ||= temp

    UPDATE_PRODUCT_EVENT ||=
      {
        "event" => 'product:update',
        "event_id" => '510bfe8e7575e41e41000017',
        "payload" => {
          "id"=>1,
          "name"=>"<NAME>",
          "description"=> "Description",
          "price"=>"15.99",
          "available_on"=>"2012-10-17T03:43:57Z",
          "permalink"=>"ruby-on-rails-tote",
          "count_on_hand"=>10,
          "meta_description"=>nil,
          "meta_keywords"=>nil }
    }

    UPDATE_PRODUCT_EVENT_RESPONSE ||= {
      "event_id" => '510bfe8e7575e41e41000004',
      "result" => 'OK',
      "details" => {
        "message" => "Product Updated"
      }
    }

    PRODUCT ||=
      {
        "id"=>1,
        "name"=>"<NAME>",
        "description"=> "Description",
        "price"=>"15.99",
        "display_price"=>"$15.99",
        "available_on"=>"2012-10-17T03:43:57Z",
        "permalink"=>"ruby-on-rails-tote",
        "meta_description"=>nil,
        "meta_keywords"=>nil,
        "taxon_ids" => [1,2,3],
        "shipping_category_id" => 1,
        "has_variants" => true,
        "master" => VARIANT.merge("is_master" => true),
        "variants" => [VARIANT.merge("is_master" => false)],
        "product_properties"=> [PRODUCT_PROPERTY],
        "option_types" => [OPTION_TYPE]
      }

    PAYMENT_METHOD ||=
      {
        "id"=>732545999,
        "name"=>"Check",
        "description"=>"Pay by check.",
        "method_type"=>"check"
      }


    ORDER_PAYMENT ||=
      {
        "id"=>1,
        "amount"=>"10.00",
        "state"=>"checkout",
        "payment_method_id"=>1,
        "payment_method" => PAYMENT_METHOD
      }

    NEW_PAYMENT_EVENT ||=
      {
        "event" => 'payment:new',
        "event_id" => '510bfe8e7575e41e41000017',
        "payload" => {
          "id"=>1,
          "amount"=>"10.00",
          "state"=>"checkout",
          "payment_method_id"=>1 }
      }

    NEW_PAYMENT_EVENT_RESPONSE ||= {
      "event_id" => '510bfe8e7575e41e41000004',
      "result" => 'OK',
      "details" => {
        "message" => "Payment Received"
      }
    }

    line_item_variant = VARIANT

    LINE_ITEM ||=
      {
        "id"=>1,
        "quantity"=>2,
        "price"=>"19.99",
        "single_display_amount"=> "$19.99",
        "total"=> "39.99",
        "display_total"=> "$39.99",
        "variant_id"=>1,
        "variant" => line_item_variant
      }

    LINE_ITEM2 ||=
      {
        "id"=>2,
        "quantity"=>2,
        "price"=>"19.99",
        "single_display_amount"=> "$19.99",
        "total"=> "39.99",
        "display_total"=> "$39.99",
        "variant_id"=>2,
        "variant" => line_item_variant
      }

    ADJUSTMENT ||=
    {
      "id" => 1073043775,
      "source_type" => "Spree::Order",
      "source_id" => 1,
      "adjustable_type" => "Spree::Order",
      "adjustable_id" => 1,
      "originator_type" => "Spree::PromotionAction",
      "originator_id" => 1,
      "amount" => "-12.0",
      "display_amount" => "-$12.00",
      "label" => "Promotion (test)",
      "mandatory" => false,
      "locked" => false,
      "eligible" => true,
      "created_at" => "2012-10-24T01:02:25Z",
      "updated_at" => "2012-10-24T01:02:25Z"
    }

    PAYMENT ||=
      {
        "id"=>1,
        "source_type"=>"Spree::CreditCard",
        "source_id"=>1,
        "amount"=>"10.00",
        "payment_method_id"=>1,
        "response_code"=>"12345",
        "state"=>"checkout",
        "avs_response"=>nil,
        "created_at"=>"2012-10-24T23:26:23Z",
        "updated_at"=>"2012-10-24T23:26:23Z"
      }

    SHIPPING_METHOD ||=
      {
        "name" => "UPS Ground",
        "zone_id" => 1,
        "shipping_category_id" => 1
