blob: e381ff613d87088e03565b83425ef71dd50d7e94 (
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
|
package org.openecomp.sdc.common.api;
import org.junit.Test;
public class ConfigurationListenerTest {
private ConfigurationListener createTestSubject() {
return new ConfigurationListener(null, null);
}
@Test
public void testGetType() throws Exception {
ConfigurationListener testSubject;
Class<? extends BasicConfiguration> result;
// default test
testSubject = createTestSubject();
result = testSubject.getType();
}
@Test
public void testSetType() throws Exception {
ConfigurationListener testSubject;
Class<? extends BasicConfiguration> type = null;
// default test
testSubject = createTestSubject();
testSubject.setType(type);
}
@Test
public void testGetCallBack() throws Exception {
ConfigurationListener testSubject;
FileChangeCallback result;
// default test
testSubject = createTestSubject();
result = testSubject.getCallBack();
}
@Test
public void testSetCallBack() throws Exception {
ConfigurationListener testSubject;
FileChangeCallback callBack = null;
// default test
testSubject = createTestSubject();
testSubject.setCallBack(callBack);
}
}
|