aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/controllers/PolicyControllerTest.java
blob: 33bed45ec2d2f979d6e1387b574b9eea487dcb2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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){}
    }

}