public DebugInfoEntry createRootDIE() {
		MockDWARFCompilationUnit cu = dwarfProg.getCurrentCompUnit();
		DWARFAbbreviation abbr = cu.createAbbreviation(makeAttrSpecArray(), tag);
		DebugInfoEntry die = dwarfProg.addDIE(abbr, null);

		int attrNum = 0;
		for (AttrInfo attrInfo : attributes.values()) {
			die.setAttributeValue(attrNum++, attrInfo.value);
		}

		return die;
	}
Helper class to create mock DebugInfoEntry instances for use during junit tests.
Ghidra/Features/Base/src/test/java/ghidra/app/util/bin/format/dwarf/DIECreator.java