assertEquals(1, parentId.size());
assertEquals("import", ((URI)parentId.get(0)).getPath());
}
public void testImportParent2() throws Exception {
DependencyType anImport = DependencyType.Factory.newInstance();
anImport.setGroupId("groupId");
anImport.setType("type");
anImport.setArtifactId("artifactId");
anImport.setVersion("version");
List parentId = ServiceConfigBuilder.getParentID(null, new DependencyType[] {anImport});
assertEquals(1, parentId.size());
assertEquals("groupId/artifactId/version/type", ((URI)parentId.get(0)).getPath());
}