Improve SONAR coverage
[vid.git] / vid-app-common / src / test / java / org / openecomp / vid / policy / PolicyRestInterfaceTest.java
diff --git a/vid-app-common/src/test/java/org/openecomp/vid/policy/PolicyRestInterfaceTest.java b/vid-app-common/src/test/java/org/openecomp/vid/policy/PolicyRestInterfaceTest.java
new file mode 100644 (file)
index 0000000..29e1362
--- /dev/null
@@ -0,0 +1,24 @@
+package org.openecomp.vid.policy;
+
+import org.apache.poi.hssf.record.formula.functions.T;
+import org.json.simple.JSONObject;
+import org.junit.Test;
+import org.openecomp.vid.policy.rest.RequestDetails;
+
+public class PolicyRestInterfaceTest {
+
+       private PolicyRestInterface createTestSubject() {
+               return new PolicyRestInterface();
+       }
+
+
+       @Test
+       public void testLogRequest() throws Exception {
+               PolicyRestInterface testSubject;
+               RequestDetails r = null;
+
+               // default test
+               testSubject = createTestSubject();
+               testSubject.logRequest(r);
+       }
+}
\ No newline at end of file