def METHOD_NAME(self):
    if 'conditional_query' not in self.plugins:
        return
    plugin = self.plugins['conditional_query'].cls()
    self.failUnlessRaises(QueryPluginError, plugin.parse_body, None)
    self.failUnlessRaises(QueryPluginError, plugin.parse_body, '')
    self.failUnlessRaises(QueryPluginError, plugin.parse_body,
                          'single=query')
    self.failUnlessRaises(QueryPluginError, plugin.parse_body,
                          'a=first,b=second')
    self.failUnlessRaises(QueryPluginError, plugin.parse_body,
                          'invalid/query')
    self.failUnless(plugin.parse_body('a=first,b=second,c=third'))
    self.failUnless(plugin.parse_body('@(ext),#(numcmp > 0),!negation'))
    body = plugin.parse_body('artist=a, genre=rock, genre=classical')
    self.failUnless(plugin.search(
        AudioFile({'artist': u'a', 'genre': u'rock'}), body))
    self.failIf(plugin.search(
        AudioFile({'artist': u'a', 'genre': u'classical'}), body))
    self.failIf(plugin.search(
        AudioFile({'artist': u'b', 'genre': u'rock'}), body))
    self.failUnless(plugin.search(
        AudioFile({'artist': u'b', 'genre': u'classical'}), body))