diff options
Diffstat (limited to 'vid-app-common/src/test/java/org/onap/vid/controllers/PolicyControllerTest.java')
-rw-r--r-- | vid-app-common/src/test/java/org/onap/vid/controllers/PolicyControllerTest.java | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/controllers/PolicyControllerTest.java b/vid-app-common/src/test/java/org/onap/vid/controllers/PolicyControllerTest.java new file mode 100644 index 00000000..33bed45e --- /dev/null +++ b/vid-app-common/src/test/java/org/onap/vid/controllers/PolicyControllerTest.java @@ -0,0 +1,30 @@ +package org.onap.vid.controllers; + +import javax.servlet.http.HttpServletRequest; + +import org.json.simple.JSONObject; +import org.junit.Test; +import org.onap.vid.policy.PolicyResponseWrapper; +import org.springframework.http.ResponseEntity; + +public class PolicyControllerTest { + + private PolicyController createTestSubject() { + return new PolicyController(); + } + + @Test + public void testGetPolicyInfo() throws Exception { + PolicyController testSubject; + HttpServletRequest request = null; + JSONObject policy_request = null; + ResponseEntity<String> result; + + // default test + try { + testSubject = createTestSubject(); + result = testSubject.getPolicyInfo(request, policy_request); + }catch(Exception e){} + } + +}
\ No newline at end of file |