{
Dictionary<String, Object> dictionary = new Hashtable<String, Object>();
dictionary.put("c and f", new String[]{ "a", "b", "c" });
Filter filter = new DefaultFilter(parser.parse(" ( c and f =c) "));
Assert.assertTrue(filter.matchCase(dictionary));
Assert.assertEquals("(c and f=c)", filter.toString());
dictionary.put("service.pid", "USB-1232312452");
dictionary.put("vendor", "ibm");
filter = new DefaultFilter(parser.parse(" ( & (service.pid=USB-1232312452)( | (vendor~=ericsson)( vendor ~=ibm) ) ) "));