aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/policy/PolicyRestInterfaceTest.java
diff options
context:
space:
mode:
authorSonsino, Ofir (os0695) <os0695@intl.att.com>2018-03-14 12:04:50 +0200
committerSonsino, Ofir (os0695) <os0695@intl.att.com>2018-03-14 12:04:50 +0200
commitc9d63f49af5455f503ca63395121b7cd4d8c8c88 (patch)
tree827ed548a95e05b99f35c494d6c6c654840ee90b /vid-app-common/src/test/java/org/onap/vid/policy/PolicyRestInterfaceTest.java
parentd5ec7bf55217508e2b5cebe640d586598379f97a (diff)
Unit tests
Change-Id: I9c63fd607757bbec095c26341af593d9afd73886 Issue-ID: VID-197 Signed-off-by: Sonsino, Ofir (os0695) <os0695@intl.att.com>
Diffstat (limited to 'vid-app-common/src/test/java/org/onap/vid/policy/PolicyRestInterfaceTest.java')
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/policy/PolicyRestInterfaceTest.java31
1 files changed, 20 insertions, 11 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/policy/PolicyRestInterfaceTest.java b/vid-app-common/src/test/java/org/onap/vid/policy/PolicyRestInterfaceTest.java
index 04f6890e2..0e74c7d83 100644
--- a/vid-app-common/src/test/java/org/onap/vid/policy/PolicyRestInterfaceTest.java
+++ b/vid-app-common/src/test/java/org/onap/vid/policy/PolicyRestInterfaceTest.java
@@ -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