aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/aai/AaiClientTest.java
blob: 8010447ce25a15966e85f77f56b1b095f79f511e (plain)
1
2
3
4
@media only all and (prefers-color-scheme: dark) {
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { color: #75715e } /* Comment.Hashbang */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: #75715e } /* Comment.Preproc */
.highlight .cpf { color: #75715e } /* Comment.PreprocFile */
.highlight .c1 { color: #75715e } /* Comment.Single */
.highlight .cs { color: #75715e } /* Comment.Special */
.highlight .gd { color: #f92672 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gi { color: #a6e22e } /* Generic.Inserted */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #75715e } /* Generic.Subheading */
.highlight .kc { color: #66d9ef } /* Keyword.Constan
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);
    }

}