def METHOD_NAME(self):
    self.assertRaises(
        PolicyValidationError, CloudDirectoryQueryParser.parse, {})
    self.assertRaises(
        PolicyValidationError, CloudDirectoryQueryParser.parse, [None])
    self.assertRaises(
        PolicyValidationError, CloudDirectoryQueryParser.parse, [{'X': 1}])
    self.assertRaises(
        PolicyValidationError, CloudDirectoryQueryParser.parse, [
            {'name': 'state', 'Values': 'disabled'}])
    self.assertRaises(
        PolicyValidationError, CloudDirectoryQueryParser.parse, [
            {'name': 'state', 'Values': ['disabled']}])