public void testNamespaceGroupConversion() {
// setup test BELDocument with one default and one custom namespace
final BELDocumentHeader dh = new BELDocumentHeader("Unit Test",
"Unit Test", "1.0");
final Set<BELNamespaceDefinition> nsset = constrainedHashSet(2);
nsset.add(new BELNamespaceDefinition("HGNC", DEFAULT_NS, true));
nsset.add(new BELNamespaceDefinition("EGID", NS, false));
final List<BELStatementGroup> sglist = sizedArrayList(1);
final BELStatementGroup sg = new BELStatementGroup("Example");
sg.getStatements().add(new BELStatement("p(AKT1) => g(EGID:1024)"));
sglist.add(sg);
final BELDocument beldoc = new BELDocument(dh, null, nsset, sglist);