```ruby
# encoding: utf-8
require 'spec_helper'
require "logstash/filters/phpunserialize"

describe LogStash::Filters::Phpunserialize do
  describe "Set to Hello World" do
    let(:config) do <<-CONFIG
      filter {
        example {
          message => "Hello World"
        }
      }
    CONFIG
    end

    sample("message" => "some text") do
      expect(subject.get("message")).to eq('Hello World')
    end
  end
end
```

Use phpunserialize in unit test
user
```ruby
# encoding: utf-8
require 'spec_helper'
require "logstash/filters/phpunserialize"

describe LogStash::Filters::Phpunserialize do
  describe "Set to Hello World" do
    let(:config) do <<-CONFIG
      filter {
        phpunserialize {
          message => "Hello World"
        }
      }
    CONFIG
    end

    sample("message" => "some text") do
      expect(subject.get("message")).to eq('Hello World')
    end
  end
end
```
assistant