EdgeRules throws descriptive error on invalid rule
[aai/aai-common.git] / aai-core / src / test / java / org / openecomp / aai / introspection / PojoLoaderTest.java
index 0eeb966..e4e58b6 100644 (file)
 
 package org.openecomp.aai.introspection;
 
-import static org.junit.Assert.*;
-
-import org.junit.BeforeClass;
 import org.junit.Test;
-
+import org.openecomp.aai.AAISetup;
 import org.openecomp.aai.domain.yang.v9.VnfImage;
 import org.openecomp.aai.introspection.exceptions.AAIUnmarshallingException;
 import org.openecomp.aai.restcore.MediaType;
 
-public class PojoLoaderTest {
+import static org.junit.Assert.assertTrue;
+import static org.junit.Assert.fail;
+
+public class PojoLoaderTest extends AAISetup {
+
 
-       
-       @BeforeClass
-       public static void configure() {
-               System.setProperty("AJSC_HOME", ".");
-               System.setProperty("BUNDLECONFIG_DIR", "bundleconfig-local");
-       }
-       
        @Test
        public void test() {
                Loader pojoLoader = LoaderFactory.createLoaderForVersion(ModelType.POJO, Version.v9);