Configuration conf = new Configuration(false);
DAGPlan dagPlan = dag.createDag(conf);
Assert.assertNull(conf.get(TezConstants.TEZ_DAG_VIEW_ACLS));
Assert.assertNull(conf.get(TezConstants.TEZ_DAG_MODIFY_ACLS));
ConfigurationProto confProto = dagPlan.getDagKeyValues();
boolean foundViewAcls = false;
boolean foundModifyAcls = false;
for (PlanKeyValuePair pair : confProto.getConfKeyValuesList()) {
if (pair.getKey().equals(TezConstants.TEZ_DAG_VIEW_ACLS)) {
foundViewAcls = true;
Assert.assertEquals("u1 g1", pair.getValue());
} else if (pair.getKey().equals(TezConstants.TEZ_DAG_MODIFY_ACLS)) {
foundModifyAcls = true;