re base code
[sdc.git] / common-app-api / src / test / java / org / openecomp / sdc / common / api / ConfigurationListenerTest.java
1 package org.openecomp.sdc.common.api;
2
3 import org.junit.Test;
4
5 public class ConfigurationListenerTest {
6
7         private ConfigurationListener createTestSubject() {
8                 return new ConfigurationListener(null, null);
9         }
10
11         @Test
12         public void testGetType() throws Exception {
13                 ConfigurationListener testSubject;
14                 Class<? extends BasicConfiguration> result;
15
16                 // default test
17                 testSubject = createTestSubject();
18                 result = testSubject.getType();
19         }
20
21         @Test
22         public void testSetType() throws Exception {
23                 ConfigurationListener testSubject;
24                 Class<? extends BasicConfiguration> type = null;
25
26                 // default test
27                 testSubject = createTestSubject();
28                 testSubject.setType(type);
29         }
30
31         @Test
32         public void testGetCallBack() throws Exception {
33                 ConfigurationListener testSubject;
34                 FileChangeCallback result;
35
36                 // default test
37                 testSubject = createTestSubject();
38                 result = testSubject.getCallBack();
39         }
40
41         @Test
42         public void testSetCallBack() throws Exception {
43                 ConfigurationListener testSubject;
44                 FileChangeCallback callBack = null;
45
46                 // default test
47                 testSubject = createTestSubject();
48                 testSubject.setCallBack(callBack);
49         }
50 }