aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/aai/model/ModelTest.java
blob: 413c0b33e2641d5f1203dbd5ff7ca84d0e59d1ec (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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
package org.onap.vid.aai.model;

import org.junit.Test;

public class ModelTest {

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

    @Test
    public void testGetModelInvariantId() throws Exception {
        Model testSubject;
        String result;

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

    @Test
    public void testSetModelInvariantId() throws Exception {
        Model testSubject;
        String modelInvariantId = "";

        // default test
        testSubject = createTestSubject();
        testSubject.setModelInvariantId(modelInvariantId);
    }

    @Test
    public void testGetModelType() throws Exception {
        Model testSubject;
        String result;

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

    @Test
    public void testSetModelType() throws Exception {
        Model testSubject;
        String modelType = "";

        // default test
        testSubject = createTestSubject();
        testSubject.setModelType(modelType);
    }

    @Test
    public void testGetResourceVersion() throws Exception {
        Model testSubject;
        String result;

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

    @Test
    public void testSetResourceVersion() throws Exception {
        Model testSubject;
        String resourceVersion = "";

        // default test
        testSubject = createTestSubject();
        testSubject.setResourceVersion(resourceVersion);
    }

    @Test
    public void testGetModelVers() throws Exception {
        Model testSubject;
        ModelVers result;

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

    @Test
    public void testSetModelVers() throws Exception {
        Model testSubject;
        ModelVers modelVers = null;

        // default test
        testSubject = createTestSubject();
        testSubject.setModelVers(modelVers);
    }
}