Config no longer implements Identifiable because this was in violation of the contrac...
[xmlrouter] / impl / src / test / java / org / wamblee / xmlrouter / impl / XMLRouterFunctionTest.java
index bfb2b41129da4d901fb9ecd8cae3c57d079fb9db..cc663438a2b5853727b6af25dab2c7a3607a383e 100644 (file)
@@ -29,7 +29,6 @@ import org.junit.Test;
 import org.wamblee.general.SystemClock;
 import org.wamblee.xmlrouter.common.Id;
 import org.wamblee.xmlrouter.config.DocumentType;
-import org.wamblee.xmlrouter.config.RouterConfig;
 import org.wamblee.xmlrouter.config.Transformation;
 import org.wamblee.xmlrouter.listener.EventInfo;
 import org.wamblee.xmlrouter.listener.EventListener;
@@ -53,7 +52,7 @@ public class XMLRouterFunctionTest {
         EventListener logListener = new LoggingEventListener(Level.INFO);
         listener = spy(logListener);
         routerService = new XMLRouter(new SystemClock(), config, listener);
-        configService = new XMLRouterConfigService(config);
+        configService = new XMLRouterConfigService("app", config);
 
         source1 = mock(DOMSource.class);
         source2 = mock(DOMSource.class);