* ============LICENSE_END============================================
* ECOMP is a trademark and service mark of AT&T Intellectual Property.
*/
-package org.onap.aai.champ.ie;
+package org.onap.aai.champcore.ie;
import org.junit.Test;
-import org.onap.aai.champ.ChampAPI;
-import org.onap.aai.champ.ChampGraph;
-import org.onap.aai.champ.ie.GraphMLImporterExporter;
+import org.onap.aai.champcore.ChampAPI;
public class ExportTest {
public void testGraphMLExport() {
final GraphMLImporterExporter ie = new GraphMLImporterExporter();
- final ChampAPI api = ChampAPI.Factory.newInstance(ChampGraph.Type.IN_MEMORY);
+ final ChampAPI api = ChampAPI.Factory.newInstance("IN_MEMORY");
ie.importData(api, getClass().getClassLoader().getResourceAsStream("import-test.graphml"));