@Test
public void testReadUnionIndex() throws Exception {
System.out.println("readAttributeIndex");
String testString = "[1,2,3,4,222,34,900,345,122,22,34,44,55,555,321,22,2]";
JPathParser.JPathReader target = new JPathParser.JPathReader(testString);
JPathParser instance = new JPathParser();
PredicateComponent result = instance.readPredicate(target);
PredicateComponent expResult = new UnionPredicate(new int[] {1,2,3,4,222,34,900,345,122,22,44,55,555,321});
assertEquals(expResult, result);
}