aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/SchemaTest.java
blob: 198e12809cc3456dd82b21e4b8f3996f0f311964 (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.asdc.beans.tosca;

import org.junit.Test;

public class SchemaTest {

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

    @Test
    public void testGetType() throws Exception {
        Schema testSubject;
        String result;

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

    @Test
    public void testSetType() throws Exception {
        Schema testSubject;
        String type = "";

        // default test
        testSubject = createTestSubject();
        testSubject.setType(type);
    }
}