Remove all references to artifactgenerator config
[aai/babel.git] / src / test / java / org / onap / aai / babel / xml / generator / model / TestWidget.java
index 2b64bfb..fec3479 100644 (file)
@@ -39,16 +39,14 @@ import org.onap.aai.babel.xml.generator.types.ModelType;
 public class TestWidget {
 
     /**
-     * Load the Widget Configuration, including the type mappings and the UUID mappings.
+     * Load the Widget mappings configuration.
      *
      * @throws IOException
      *             if the mappings configuration cannot be loaded
      */
     @BeforeClass
     public static void setup() throws IOException {
-        ArtifactTestUtils util = new ArtifactTestUtils();
-        util.loadWidgetToUuidMappings();
-        util.loadWidgetMappings();
+        new ArtifactTestUtils().loadWidgetMappings();
     }
 
     @Test
@@ -187,16 +185,6 @@ public class TestWidget {
         Widget.createWidget("OAM_NETWORK").addResource(null);
     }
 
-    @Test(expected = IllegalArgumentException.class)
-    public void testGetVersionIdForUknownWidget() {
-        new Widget(new WidgetType("test"), null, false).getId();
-    }
-
-    @Test(expected = IllegalArgumentException.class)
-    public void testGetInvariantIdForUknownWidget() {
-        new Widget(new WidgetType("test"), null, false).getWidgetId();
-    }
-
     // Call Widget methods which are not supported, purely for code coverage.
 
     @Test(expected = org.onap.aai.babel.xml.generator.error.IllegalAccessException.class)