EdgeRules throws descriptive error on invalid rule
[aai/aai-common.git] / aai-core / src / test / java / org / openecomp / aai / introspection / MoxyEngineTest.java
index 7b8f338..0f67ddf 100644 (file)
 
 package org.openecomp.aai.introspection;
 
-import org.eclipse.persistence.dynamic.DynamicEntity;
-import org.eclipse.persistence.jaxb.UnmarshallerProperties;
-import org.eclipse.persistence.jaxb.dynamic.DynamicJAXBContext;
-import org.junit.BeforeClass;
 import org.junit.Test;
 import org.openecomp.aai.introspection.exceptions.AAIUnknownObjectException;
-import org.openecomp.aai.serialization.queryformats.QueryFormatTestHelper;
-import org.openecomp.aai.util.AAIConstants;
-
-import javax.xml.bind.JAXBException;
-import javax.xml.bind.Unmarshaller;
-import java.io.StringReader;
 
 public class MoxyEngineTest extends IntrospectorTestSpec {
 
-       /**
-        * Configure.
-        * @throws Exception 
-        * @throws SecurityException 
-        * @throws NoSuchFieldException 
-        */
-       @BeforeClass
-       public static void configure() throws NoSuchFieldException, SecurityException, Exception {
-               System.setProperty("AJSC_HOME", ".");
-               System.setProperty("BUNDLECONFIG_DIR", "bundleconfig-local");
-               QueryFormatTestHelper.setFinalStatic(AAIConstants.class.getField("AAI_HOME_ETC_OXM"), "src/test/resources/org/openecomp/aai/introspection/");
-       }
-       
        /**
         * Container object.
-        * @throws AAIUnknownObjectException
+        * @throws AAIUnknownObjectException 
         */
        @Test
        public void containerObject() throws AAIUnknownObjectException {