aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/changeManagement/RequestDetailsTest.java
blob: d06a12d13cb0df0770330de5f5f733f2a68321e8 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package org.onap.vid.changeManagement;

import java.util.List;

import org.junit.Test;

public class RequestDetailsTest {

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

    @Test
    public void testGetVnfName() throws Exception {
        RequestDetails testSubject;
        String result;

        // default test
        testSubject = createTestSubject();
        result = testSubject.getVnfName();
    }

    @Test
    public void testSetVnfName() throws Exception {
        RequestDetails testSubject;
        String vnfName = "";

        // default test
        testSubject = createTestSubject();
        testSubject.setVnfName(vnfName);
    }

    @Test
    public void testGetVnfInstanceId() throws Exception {
        RequestDetails testSubject;
        String result;

        // default test
        testSubject = createTestSubject();
        result = testSubject.getVnfInstanceId();
    }

    @Test
    public void testSetVnfInstanceId() throws Exception {
        RequestDetails testSubject;
        String vnfInstanceId = "";

        // default test
        testSubject = createTestSubject();
        testSubject.setVnfInstanceId(vnfInstanceId);
    }

    @Test
    public void testGetRelatedInstList() throws Exception {
        RequestDetails testSubject;
        List<RelatedInstanceList> result;

        // default test
        testSubject = createTestSubject();
        result = testSubject.getRelatedInstList();
    }

    @Test
    public void testSetRelatedInstList() throws Exception {
        RequestDetails testSubject;
        List<RelatedInstanceList> relatedInstList = null;

        // default test
        testSubject = createTestSubject();
        testSubject.setRelatedInstList(relatedInstList);
    }
}