starts threads each for every supported collector
[dcaegen2/services/mapper.git] / UniversalVesAdapter / src / test / java / org / onap / dcaegen2 / ves / domain / AdditionalParameterTest.java
1 /*
2 * ============LICENSE_START=======================================================
3 * ONAP : DCAE
4 * ================================================================================
5 * Copyright 2018 TechMahindra
6 *=================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 *     http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
19 */
20 package org.onap.dcaegen2.ves.domain;
21
22 import static org.junit.Assert.assertNotNull;
23
24 import java.util.Map;
25
26 import org.junit.Test;
27
28 public class AdditionalParameterTest {
29
30         private AdditionalParameter createTestSubject() {
31                 return new AdditionalParameter();
32         }
33
34         @Test
35         public void testGetCriticality() throws Exception {
36                 AdditionalParameter testSubject;
37                 String result;
38
39                 // default test
40                 testSubject = createTestSubject();
41                 result = testSubject.getCriticality();
42                 
43         }
44
45         @Test
46         public void testSetCriticality() throws Exception {
47                 AdditionalParameter testSubject;
48                 String criticality = "";
49
50                 // default test
51                 testSubject = createTestSubject();
52                 testSubject.setCriticality(criticality);
53         }
54
55         @Test
56         public void testGetName() throws Exception {
57                 AdditionalParameter testSubject;
58                 String result;
59
60                 // default test
61                 testSubject = createTestSubject();
62                 result = testSubject.getName();
63                 
64         }
65
66         @Test
67         public void testSetName() throws Exception {
68                 AdditionalParameter testSubject;
69                 String name = "";
70
71                 // default test
72                 testSubject = createTestSubject();
73                 testSubject.setName(name);
74         }
75
76         @Test
77         public void testGetThresholdCrossed() throws Exception {
78                 AdditionalParameter testSubject;
79                 String result;
80
81                 // default test
82                 testSubject = createTestSubject();
83                 result = testSubject.getThresholdCrossed();
84                 
85         }
86
87         @Test
88         public void testSetThresholdCrossed() throws Exception {
89                 AdditionalParameter testSubject;
90                 String thresholdCrossed = "";
91
92                 // default test
93                 testSubject = createTestSubject();
94                 testSubject.setThresholdCrossed(thresholdCrossed);
95         }
96
97         @Test
98         public void testGetValue() throws Exception {
99                 AdditionalParameter testSubject;
100                 String result;
101
102                 // default test
103                 testSubject = createTestSubject();
104                 result = testSubject.getValue();
105                 
106         }
107
108         @Test
109         public void testSetValue() throws Exception {
110                 AdditionalParameter testSubject;
111                 String value = "";
112
113                 // default test
114                 testSubject = createTestSubject();
115                 testSubject.setValue(value);
116         }
117
118         @Test
119         public void testGetAdditionalProperties() throws Exception {
120                 AdditionalParameter testSubject;
121                 Map<String, Object> result;
122
123                 // default test
124                 testSubject = createTestSubject();
125                 result = testSubject.getAdditionalProperties();
126                 
127         }
128
129         @Test
130         public void testSetAdditionalProperty() throws Exception {
131                 AdditionalParameter testSubject;
132                 String name = "";
133                 Object value = null;
134
135                 // default test
136                 testSubject = createTestSubject();
137                 testSubject.setAdditionalProperty(name, value);
138         }
139
140         @Test
141         public void testToString() throws Exception {
142                 AdditionalParameter testSubject;
143                 String result;
144
145                 // default test
146                 testSubject = createTestSubject();
147                 result = testSubject.toString();
148                 
149         }
150
151         @Test
152         public void testHashCode() throws Exception {
153                 AdditionalParameter testSubject;
154                 int result;
155
156                 // default test
157                 testSubject = createTestSubject();
158                 result = testSubject.hashCode();
159                 
160         }
161
162         @Test
163         public void testEquals() throws Exception {
164                 AdditionalParameter testSubject;
165                 Object other = null;
166                 boolean result;
167
168                 // default test
169                 testSubject = createTestSubject();
170                 result = testSubject.equals(other);
171                 
172         }
173 }