Refactor Prov DB handling
[dmaap/datarouter.git] / datarouter-prov / src / test / java / org / onap / dmaap / datarouter / provisioning / beans / SubscriptionTest.java
index 214cc6e..7f049e5 100644 (file)
@@ -32,7 +32,6 @@ import org.junit.Before;
 import org.junit.BeforeClass;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.junit.BeforeClass;
 import org.junit.Test;
 import org.junit.runner.RunWith;
-import org.onap.dmaap.datarouter.provisioning.utils.DB;
 import org.powermock.modules.junit4.PowerMockRunner;
 
 @RunWith(PowerMockRunner.class)
 import org.powermock.modules.junit4.PowerMockRunner;
 
 @RunWith(PowerMockRunner.class)
@@ -42,7 +41,6 @@ public class SubscriptionTest {
 
     private static EntityManagerFactory emf;
     private static EntityManager em;
 
     private static EntityManagerFactory emf;
     private static EntityManager em;
-    private DB db;
 
     @BeforeClass
     public static void init() {
 
     @BeforeClass
     public static void init() {
@@ -61,7 +59,6 @@ public class SubscriptionTest {
     }
     @Before
     public void setUp() throws Exception {
     }
     @Before
     public void setUp() throws Exception {
-        db = new DB();
         subscription = new Subscription();
     }
 
         subscription = new Subscription();
     }