Merge "Logging improvements"
[vid.git] / vid-app-common / src / test / java / org / onap / vid / policy / PolicyRestInterfaceTest.java
index 04f6890..05191fc 100644 (file)
@@ -1,24 +1,32 @@
 package org.onap.vid.policy;
 
-import org.apache.poi.hssf.record.formula.functions.T;
 import org.json.simple.JSONObject;
 import org.junit.Test;
 import org.onap.vid.policy.rest.RequestDetails;
 
 public class PolicyRestInterfaceTest {
 
-       private PolicyRestInterface createTestSubject() {
-               return new PolicyRestInterface();
-       }
+    private PolicyRestInterface createTestSubject() {
+        return new PolicyRestInterface();
+    }
 
+    @Test
+    public void testLogRequest() throws Exception {
+        PolicyRestInterface testSubject;
+        RequestDetails r = null;
 
-       @Test
-       public void testLogRequest() throws Exception {
-               PolicyRestInterface testSubject;
-               RequestDetails r = null;
+        // default test
+        testSubject = createTestSubject();
+        testSubject.logRequest(r);
+    }
+
+    /*@Test
+    public void testInitRestClient() throws Exception {
+        PolicyRestInterface testSubject;
+
+        // default test
+        testSubject = createTestSubject();
+        testSubject.initRestClient();
+    }*/
 
-               // default test
-               testSubject = createTestSubject();
-               testSubject.logRequest(r);
-       }
 }
\ No newline at end of file