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

  String orig = "twitter";
  CommonTree tree = FlumeBuilder.parseSource(orig);
  String out = FlumeSpecGen.genEventSource(tree);
  assertEquals(orig, out);
  orig = "text( \"/tmp/file\" )";
  tree = FlumeBuilder.parseSource(orig);
  out = FlumeSpecGen.genEventSource(tree);
  assertEquals(orig, out);
}