1 package org.openecomp.sdc.common.api;
5 public class ConfigurationListenerTest {
7 private ConfigurationListener createTestSubject() {
8 return new ConfigurationListener(null, null);
12 public void testGetType() throws Exception {
13 ConfigurationListener testSubject;
14 Class<? extends BasicConfiguration> result;
17 testSubject = createTestSubject();
18 result = testSubject.getType();
22 public void testSetType() throws Exception {
23 ConfigurationListener testSubject;
24 Class<? extends BasicConfiguration> type = null;
27 testSubject = createTestSubject();
28 testSubject.setType(type);
32 public void testGetCallBack() throws Exception {
33 ConfigurationListener testSubject;
34 FileChangeCallback result;
37 testSubject = createTestSubject();
38 result = testSubject.getCallBack();
42 public void testSetCallBack() throws Exception {
43 ConfigurationListener testSubject;
44 FileChangeCallback callBack = null;
47 testSubject = createTestSubject();
48 testSubject.setCallBack(callBack);