Port champ-microservice project restructure
[aai/champ.git] / champ-lib / champ-core / src / test / java / org / onap / aai / champcore / ie / ExportTest.java
  * ============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 {
 
@@ -32,7 +30,7 @@ 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"));