Unit tests
[vid.git] / vid-app-common / src / test / java / org / onap / vid / policy / PolicyRestInterfaceTest.java
index 04f6890..0e74c7d 100644 (file)
@@ -7,18 +7,27 @@ 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