package org.openecomp.aai.exceptions;
-import org.junit.BeforeClass;
import org.junit.Test;
+import org.openecomp.aai.AAISetup;
import java.util.HashMap;
import static org.junit.Assert.assertEquals;
-public class AAIExceptionWithInfoTest {
+public class AAIExceptionWithInfoTest extends AAISetup {
private static final HashMap<String, Object> map = new HashMap<String, Object>();
private static final String details = "This is a detailed description of the exception.";
private static final Throwable cause = new RuntimeException("This is a runtime exception.");
- @BeforeClass
- public static void configure() {
- System.setProperty("AJSC_HOME", "./src/test/resources/");
- System.setProperty("BUNDLECONFIG_DIR", "bundleconfig-local");
- }
-
/**
* Test constructor with 2 params.
*