import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
+import org.springframework.test.annotation.DirtiesContext;
import org.junit.rules.ExpectedException;
import org.onap.aai.AAISetup;
import org.onap.aai.concurrent.AaiCallable;
import java.util.Properties;
import static org.junit.Assert.assertTrue;
-
+@DirtiesContext(classMode = DirtiesContext.ClassMode.BEFORE_CLASS)
public class ListEndpointsTest extends AAISetup {
private Properties properties;
import org.junit.runners.Parameterized;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
+import org.springframework.test.annotation.DirtiesContext;
+
import org.onap.aai.AAISetup;
import org.onap.aai.db.props.AAIProperties;
import org.onap.aai.edges.enums.EdgeProperty;
import static org.mockito.Mockito.when;
@RunWith(value = Parameterized.class)
-
+@DirtiesContext(classMode = DirtiesContext.ClassMode.BEFORE_CLASS)
public class DataCopyTest extends AAISetup {
private static JanusGraph graph;