blob: 440a2a7bf3758f425d9297813a296bb1b06e8cc4 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
package org.onap.vid.services;
import org.junit.Test;
import org.onap.vid.category.AddCategoryOptionResponse;
import org.onap.vid.category.AddCategoryOptionsRequest;
import org.onap.vid.category.CategoryParameterOptionRep;
import org.onap.vid.category.CategoryParametersResponse;
import org.onap.vid.model.CategoryParameterOption;
public class CategoryParameterServiceImplTest {
private CategoryParameterServiceImpl createTestSubject() {
return new CategoryParameterServiceImpl();
}
@Test
public void testCreateCategoryParameterOptions() throws Exception {
CategoryParameterServiceImpl testSubject;
String categoryName = "";
AddCategoryOptionsRequest optionsRequest = null;
AddCategoryOptionResponse result;
// default test
try {
testSubject = createTestSubject();
result = testSubject.createCategoryParameterOptions(categoryName, optionsRequest);
} catch (
Exception e) {
}
}
@Test
public void testDeleteCategoryOption() throws Exception {
CategoryParameterServiceImpl testSubject;
String categoryName = "";
CategoryParameterOption option = null;
// default test
try {
testSubject = createTestSubject();
testSubject.deleteCategoryOption(categoryName, option);
} catch (
Exception e) {
}
}
@Test
public void testGetCategoryParameters() throws Exception {
CategoryParameterServiceImpl testSubject;
CategoryParametersResponse result;
// default test
try {
testSubject = createTestSubject();
testSubject.getCategoryParameters(null);
} catch (
Exception e) {
}
}
@Test
public void testUpdateCategoryParameterOption() throws Exception {
CategoryParameterServiceImpl testSubject;
String categoryName = "";
CategoryParameterOptionRep option = null;
AddCategoryOptionResponse result;
// default test
try {
testSubject = createTestSubject();
result = testSubject.updateCategoryParameterOption(categoryName, option);
} catch (
Exception e) {
}
}
}
|