1 package org.onap.vid.model;
3 import java.io.Serializable;
7 import org.junit.Assert;
10 public class CategoryParameterOptionTest {
12 private CategoryParameterOption createTestSubject() {
13 return new CategoryParameterOption();
17 public void testGetId() throws Exception {
18 CategoryParameterOption testSubject;
22 testSubject = createTestSubject();
23 result = testSubject.getId();
27 public void testSetId() throws Exception {
28 CategoryParameterOption testSubject;
32 testSubject = createTestSubject();
33 testSubject.setId(id);
37 public void testGetAppId() throws Exception {
38 CategoryParameterOption testSubject;
42 testSubject = createTestSubject();
43 result = testSubject.getAppId();
47 public void testSetAppId() throws Exception {
48 CategoryParameterOption testSubject;
52 testSubject = createTestSubject();
53 testSubject.setAppId(appId);
57 public void testGetName() throws Exception {
58 CategoryParameterOption testSubject;
62 testSubject = createTestSubject();
63 result = testSubject.getName();
67 public void testSetName() throws Exception {
68 CategoryParameterOption testSubject;
72 testSubject = createTestSubject();
73 testSubject.setName(name);
77 public void testGetCategoryParameter() throws Exception {
78 CategoryParameterOption testSubject;
79 CategoryParameter result;
82 testSubject = createTestSubject();
83 result = testSubject.getCategoryParameter();
87 public void testSetCategoryParameter() throws Exception {
88 CategoryParameterOption testSubject;
89 CategoryParameter categoryParameter = null;
92 testSubject = createTestSubject();
93 testSubject.setCategoryParameter(categoryParameter);
97 public void testGetCreated() throws Exception {
98 CategoryParameterOption testSubject;
102 testSubject = createTestSubject();
103 result = testSubject.getCreated();
107 public void testGetModified() throws Exception {
108 CategoryParameterOption testSubject;
112 testSubject = createTestSubject();
113 result = testSubject.getModified();
117 public void testGetCreatedId() throws Exception {
118 CategoryParameterOption testSubject;
122 testSubject = createTestSubject();
123 result = testSubject.getCreatedId();
127 public void testGetModifiedId() throws Exception {
128 CategoryParameterOption testSubject;
132 testSubject = createTestSubject();
133 result = testSubject.getModifiedId();
137 public void testGetAuditUserId() throws Exception {
138 CategoryParameterOption testSubject;
142 testSubject = createTestSubject();
143 result = testSubject.getAuditUserId();
147 public void testGetRowNum() throws Exception {
148 CategoryParameterOption testSubject;
152 testSubject = createTestSubject();
153 result = testSubject.getRowNum();
157 public void testGetAuditTrail() throws Exception {
158 CategoryParameterOption testSubject;
162 testSubject = createTestSubject();
163 result = testSubject.getAuditTrail();
167 public void testEquals() throws Exception {
168 CategoryParameterOption testSubject;
173 testSubject = createTestSubject();
175 result = testSubject.equals(o);
176 Assert.assertEquals(false, result);
180 public void testHashCode() throws Exception {
181 CategoryParameterOption testSubject;
185 testSubject = createTestSubject();
186 result = testSubject.hashCode();