Unit tests
[vid.git] / vid-app-common / src / test / java / org / onap / vid / aai / AaiClientTest.java
1 package org.onap.vid.aai;
2
3 import static org.junit.Assert.*;
4 import java.util.*;
5
6 import org.json.simple.JSONObject;
7 import org.junit.Assert;
8 import org.junit.Test;
9 import org.onap.vid.aai.model.AaiGetPnfs.Pnf;
10 import org.onap.vid.model.SubscriberList;
11
12 public class AaiClientTest {
13
14     private AaiClient createTestSubject() {
15         return new AaiClient();
16     }
17
18
19     @Test
20     public void testDoAaiGet() throws Exception {
21         AaiClient testSubject;
22         String certiPath = "";
23         String uri = "";
24         boolean xml = false;
25
26         // default test
27         testSubject = createTestSubject();
28         testSubject.doAaiGet(certiPath, uri, xml);
29     }
30
31     @Test
32     public void testParseServiceSubscriptionObjectForTenants() throws Exception {
33         JSONObject jsonObject = null;
34         String result;
35
36         // default test
37         result = AaiClient.parseServiceSubscriptionObjectForTenants(jsonObject);
38     }
39
40 }