List parentId = ServiceConfigBuilder.getParentID("attribute", new DependencyType[] {});
assertEquals(1, parentId.size());
}
public void testImportParent1() throws Exception {
DependencyType anImport = DependencyType.Factory.newInstance();
anImport.setUri("import");
List parentId = ServiceConfigBuilder.getParentID(null, new DependencyType[] {anImport});
assertEquals(1, parentId.size());
assertEquals("import", ((URI)parentId.get(0)).getPath());
}