aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/aai/model/ResultTest.java
blob: 91d7763ec13954c839c53a6968204f6cb88f0c5a (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
package org.onap.vid.aai.model;

import org.junit.Test;

public class ResultTest {

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

    @Test
    public void testGetModel() throws Exception {
        Result testSubject;
        Model result;

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

    @Test
    public void testSetModel() throws Exception {
        Result testSubject;
        Model model = null;

        // default test
        testSubject = createTestSubject();
        testSubject.setModel(model);
    }
}