Unit tests
[vid.git] / vid-app-common / src / test / java / org / onap / vid / model / CategoryParameterOptionTest.java
1 package org.onap.vid.model;
2
3 import java.io.Serializable;
4 import java.util.Date;
5 import java.util.Set;
6
7 import org.junit.Assert;
8 import org.junit.Test;
9
10 public class CategoryParameterOptionTest {
11
12     private CategoryParameterOption createTestSubject() {
13         return new CategoryParameterOption();
14     }
15
16     @Test
17     public void testGetId() throws Exception {
18         CategoryParameterOption testSubject;
19         Long result;
20
21         // default test
22         testSubject = createTestSubject();
23         result = testSubject.getId();
24     }
25
26     @Test
27     public void testSetId() throws Exception {
28         CategoryParameterOption testSubject;
29         Long id = null;
30
31         // default test
32         testSubject = createTestSubject();
33         testSubject.setId(id);
34     }
35
36     @Test
37     public void testGetAppId() throws Exception {
38         CategoryParameterOption testSubject;
39         String result;
40
41         // default test
42         testSubject = createTestSubject();
43         result = testSubject.getAppId();
44     }
45
46     @Test
47     public void testSetAppId() throws Exception {
48         CategoryParameterOption testSubject;
49         String appId = "";
50
51         // default test
52         testSubject = createTestSubject();
53         testSubject.setAppId(appId);
54     }
55
56     @Test
57     public void testGetName() throws Exception {
58         CategoryParameterOption testSubject;
59         String result;
60
61         // default test
62         testSubject = createTestSubject();
63         result = testSubject.getName();
64     }
65
66     @Test
67     public void testSetName() throws Exception {
68         CategoryParameterOption testSubject;
69         String name = "";
70
71         // default test
72         testSubject = createTestSubject();
73         testSubject.setName(name);
74     }
75
76     @Test
77     public void testGetCategoryParameter() throws Exception {
78         CategoryParameterOption testSubject;
79         CategoryParameter result;
80
81         // default test
82         testSubject = createTestSubject();
83         result = testSubject.getCategoryParameter();
84     }
85
86     @Test
87     public void testSetCategoryParameter() throws Exception {
88         CategoryParameterOption testSubject;
89         CategoryParameter categoryParameter = null;
90
91         // default test
92         testSubject = createTestSubject();
93         testSubject.setCategoryParameter(categoryParameter);
94     }
95
96     @Test
97     public void testGetCreated() throws Exception {
98         CategoryParameterOption testSubject;
99         Date result;
100
101         // default test
102         testSubject = createTestSubject();
103         result = testSubject.getCreated();
104     }
105
106     @Test
107     public void testGetModified() throws Exception {
108         CategoryParameterOption testSubject;
109         Date result;
110
111         // default test
112         testSubject = createTestSubject();
113         result = testSubject.getModified();
114     }
115
116     @Test
117     public void testGetCreatedId() throws Exception {
118         CategoryParameterOption testSubject;
119         Long result;
120
121         // default test
122         testSubject = createTestSubject();
123         result = testSubject.getCreatedId();
124     }
125
126     @Test
127     public void testGetModifiedId() throws Exception {
128         CategoryParameterOption testSubject;
129         Long result;
130
131         // default test
132         testSubject = createTestSubject();
133         result = testSubject.getModifiedId();
134     }
135
136     @Test
137     public void testGetAuditUserId() throws Exception {
138         CategoryParameterOption testSubject;
139         Serializable result;
140
141         // default test
142         testSubject = createTestSubject();
143         result = testSubject.getAuditUserId();
144     }
145
146     @Test
147     public void testGetRowNum() throws Exception {
148         CategoryParameterOption testSubject;
149         Long result;
150
151         // default test
152         testSubject = createTestSubject();
153         result = testSubject.getRowNum();
154     }
155
156     @Test
157     public void testGetAuditTrail() throws Exception {
158         CategoryParameterOption testSubject;
159         Set result;
160
161         // default test
162         testSubject = createTestSubject();
163         result = testSubject.getAuditTrail();
164     }
165
166     @Test
167     public void testEquals() throws Exception {
168         CategoryParameterOption testSubject;
169         Object o = null;
170         boolean result;
171
172         // test 1
173         testSubject = createTestSubject();
174         o = null;
175         result = testSubject.equals(o);
176         Assert.assertEquals(false, result);
177     }
178
179     @Test
180     public void testHashCode() throws Exception {
181         CategoryParameterOption testSubject;
182         int result;
183
184         // default test
185         testSubject = createTestSubject();
186         result = testSubject.hashCode();
187     }
188
189 }