assertDigest("[ foo | [ a || b || c || d ] | bar ]",
"{\n 'lits': [ 'a', 'b', 'bar', 'c', 'd', 'foo' ]\n}");
}
public final void testLiteralExtraction() {
CssPropertyPatterns pp = new CssPropertyPatterns(
CssSchema.getDefaultCss21Schema(mq));
String text = "[ foo || bar() ]";
CssPropertyData actual = pp.cssPropertyToData("test", parseSignature(text));
assertEquals("test", actual.key);
assertEquals(actual.fns.toString(), 1, actual.fns.size());
assertEquals("bar", actual.fns.iterator().next().getName());
}