public void testExpression4() throws IOException, ParserException {
System.out.println("Test Expression4 - Working Query");
String startDate1 = "2010-01-01";
String endDate1 = "2011-01-01";
String startDate2 = "2010-01-01";
JSON json = JSON.parse(JSONTestExamples.METER_SAMPLE);
assertEquals(startDate1, JPath.parse("/enrollments[?(@.key=\"Carbon\")]/start").evaluate(json).getString());
assertEquals(endDate1, JPath.parse("/enrollments[?(@.key=\"Carbon\")]/end").evaluate(json).getString());
assertEquals(startDate2, JPath.parse("/enrollments[?(@.key=\"Carbon\")]/channels[?(@.channelid=\"CH-0\")]/start").evaluate(json).getString());
}