aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/aai/AaiClientTest.java
blob: 8010447ce25a15966e85f77f56b1b095f79f511e (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
31
32
33
34
35
36
37
38
39
40
package org.onap.vid.aai;

import static org.junit.Assert.*;
import java.util.*;

import org.json.simple.JSONObject;
import org.junit.Assert;
import org.junit.Test;
import org.onap.vid.aai.model.AaiGetPnfs.Pnf;
import org.onap.vid.model.SubscriberList;

public class AaiClientTest {

    private AaiClient createTestSubject() {
        return new AaiClient();
    }


    @Test
    public void testDoAaiGet() throws Exception {
        AaiClient testSubject;
        String certiPath = "";
        String uri = "";
        boolean xml = false;

        // default test
        testSubject = createTestSubject();
        testSubject.doAaiGet(certiPath, uri, xml);
    }

    @Test
    public void testParseServiceSubscriptionObjectForTenants() throws Exception {
        JSONObject jsonObject = null;
        String result;

        // default test
        result = AaiClient.parseServiceSubscriptionObjectForTenants(jsonObject);
    }

}