@Test
@Ignore // this plan needs to be updated.
public void testRefInterp() throws Exception{
DrillConfig config = DrillConfig.create();
final String jsonFile = "/constant2.json";
LogicalPlan plan = LogicalPlan.parse(config, FileUtils.getResourceAsString(jsonFile));
org.junit.Assert.assertEquals("Constant operator not read in properly or not recognized as a source operator.",
plan.getGraph().getLeaves().toString(), "[Constant [memo=null]]");
org.junit.Assert.assertEquals("Edge between constant operator and sink not recognized.",
plan.getGraph().getRoots().toString(), "[Store [memo=output sink]]");
IteratorRegistry ir = new IteratorRegistry();
ReferenceInterpreter i = new ReferenceInterpreter(plan, ir, new BasicEvaluatorFactory(ir), new RSERegistry(config));
i.setup();