@Test
public void testTuple() throws RecognitionException {

  CommonTree sink = FlumeBuilder
      .parseSink(" { batch(10) => logicalNode(\"collector\")  } ");
  PatternMatch pp = recursive(tuple(kind("SINK"), kind("logicalNode"), var(
      "LogicalNodeName", kind("STRING"))));
  Map<String, CommonTree> m = pp.match(sink);
  assertNotNull(m);
  dumpMatches(m);
  LOG.info(m);
}