public void testParse() throws Exception {
System.out.println("parse");
String testString = "/rah/boop[1]/boop[55]";
JPathParser instance = new JPathParser();
JPath<Component> result = instance.parse(testString);
KeyComponent expResult1 = new KeyComponent("rah");
KeyComponent expResult2 = new KeyComponent("boop");
SimpleIndexPredicate expResult3 = new SimpleIndexPredicate(1);
SimpleIndexPredicate expResult5 = new SimpleIndexPredicate(55);
assertEquals(result.size(), 5, 0);
assertEquals(expResult1, result.get(0));
assertEquals(expResult2, result.get(1));