module Mail::Matchers

def an_attachment_with_filename(filename)

def an_attachment_with_filename(filename)
  AttachmentFilenameMatcher.new(filename)
end

def an_attachment_with_mime_type(filename)

def an_attachment_with_mime_type(filename)
  AttachmentMimeTypeMatcher.new(filename)
end

def any_attachment

def any_attachment
  AnyAttachmentMatcher.new
end

def have_sent_email

def have_sent_email
  HasSentEmailMatcher.new(self)
end