Test for displaying Trap Number
user
```ruby
describe "miq_policy/_alert_details.html.haml" do
  before do
    @alert = FactoryGirl.create(:miq_alert)
    exp = {:eval_method => 'nothing', :mode => 'internal', :options => {}}
    allow(@alert).to receive(:expression).and_return(exp)
    set_controller_for_view("miq_policy")
  end

  it "Trap Number is displayed correctly" do
    opts = {:notifications => {:snmp => {:host => ['test.test.org'], :snmp_version => 'v1', :trap_id => '42'}}}
    allow(@alert).to receive(:options).and_return(opts)
    render :partial => "miq_policy/alert_details"
    expect(rendered).to include('Trap Number')
  end
end
```
assistant