@Test
public void testPopulateDAG() throws Exception
{

  Configuration configuration = new Configuration(false);
  LocalMode lm = LocalMode.newInstance();
  DAG prepareDAG = lm.prepareDAG(new TwitterDumpApplication(), configuration);
  DAG clonedDAG = lm.cloneDAG();
  assertEquals("Serialization", prepareDAG, clonedDAG);
}