@Test
public void testRoll() throws RecognitionException, FlumeSpecException {

  String orig = "roll( 12345 ) { counter( \"foo\" ) }";
  CommonTree tree = FlumeBuilder.parseSink(orig);
  String out = FlumeSpecGen.genEventSink(tree);
  assertEquals(orig, out);
}