  it "should send an email using exim" do
    Mail.defaults do
      delivery_method :exim
    end
    
    mail = Mail.new do
      from    'roger@test.lindsaar.net'
      to      'marcel@test.lindsaar.net, bob@test.lindsaar.net'
      subject 'invalid RFC2822'
    end
    
    Mail::Exim.should_receive(:call).with('/usr/sbin/exim', 
                                          '-i -t -f "roger@test.lindsaar.net"', 
                                          'marcel@test.lindsaar.net bob@test.lindsaar.net', 
                                          mail)
    mail.deliver!
  end
The product receives input or data, but it does
        not validate or incorrectly validates that the input has the
        properties that are required to process the data safely and
        correctly.