I'm not sure this case is worth a dedicated helper method. It can be done in a one-liner like this:

        eq_(self.search_results('void -"int"'), [])

What do you think?