add testcases
[dmaap/messagerouter/msgrtr.git] / src / test / java / org / onap / dmaap / mr / cambria / utils / UtilsTest.java
index b4645a3..8a4009b 100644 (file)
@@ -27,7 +27,6 @@ import java.security.Principal;
 import java.text.SimpleDateFormat;
 import java.util.Date;
 
-import javax.servlet.http.HttpServletRequest;
 
 import org.apache.http.auth.BasicUserPrincipal;
 import org.junit.After;
@@ -122,4 +121,16 @@ public class UtilsTest {
                
                
        }
+       
+       @Test
+       public void testGetKey(){
+               assertNotNull(Utils.getKafkaproperty());
+               
+       }
+       
+       @Test
+       public void testCadiEnable(){
+               assertFalse(Utils.isCadiEnabled());
+               
+       }
 }