Raise unit test coverage over 50%
[dmaap/dbcapi.git] / src / test / java / org / onap / dmaap / dbcapi / service / Dr_PubServiceTest.java
index 5c93dbf..2cfe475 100644 (file)
@@ -18,7 +18,9 @@
  * ============LICENSE_END=========================================================
  */
 package org.onap.dmaap.dbcapi.service;
+
 import  org.onap.dmaap.dbcapi.model.*;
+import org.onap.dmaap.dbcapi.testframework.ReflectionHarness;
 
 import static org.junit.Assert.*;
 
@@ -74,8 +76,7 @@ public class Dr_PubServiceTest {
                ApiError err = new ApiError();
                Feed f = new Feed( "aTest", "1.0", "a unit test", "dgl", "unrestricted" );
                f = fs.addFeed( f,      err );
-/*
-TODO: make this not be null...
+
                assertTrue( f != null );
                DR_Pub node = new DR_Pub( locname, "aUser", "aPwd", f.getFeedId(), "pubId01" );
                DR_Pub n2 = ns.addDr_Pub( node );       
@@ -92,8 +93,7 @@ TODO: make this not be null...
                }
 
                n2 = ns.removeDr_Pub( n2.getPubId(),  err );
-*/
-                               
+                       
 
        }