" <tempGroup>testTempGroup2</tempGroup>\r\n" + //$NON-NLS-1$
" </mappingNode>\r\n" + //$NON-NLS-1$
"</xmlMapping>\r\n\r\n"; //$NON-NLS-1$
// load the original
MappingDocument doc = loadMappingDocument(xml);
// now extract the source nodes
doc = SourceNodeGenaratorVisitor.extractSourceNodes(doc);
// check the staging tables
MappingBaseNode root = doc.getRootNode();
assertTrue(root instanceof MappingSourceNode);
MappingSourceNode source = (MappingSourceNode)root;
assertEquals("licenseSource", source.getResultName()); //$NON-NLS-1$
List list = source.getStagingTables();