now making sure that ids re prefixed by the config id.
[xmlrouter] / impl / src / test / java / org / wamblee / xmlrouter / impl / RobustDocumentTypeTest.java
index 57289dcb5a68b736f6ff7745b4ae5c6334b5bf99..aa724e26f3d10ca0f46fb3f976ad410ea0a470cf 100644 (file)
@@ -23,7 +23,6 @@ import javax.xml.transform.dom.DOMSource;
 
 import org.junit.Before;
 import org.junit.Test;
-import org.wamblee.xmlrouter.common.Id;
 import org.wamblee.xmlrouter.config.DocumentType;
 
 public class RobustDocumentTypeTest {
@@ -35,7 +34,7 @@ public class RobustDocumentTypeTest {
     @Before
     public void setUp() {
         documentType = mock(DocumentType.class);
-        robust = new RobustDocumentType(new Id<DocumentType>(10), documentType);
+        robust = new RobustDocumentType("app1", documentType);
         source = mock(DOMSource.class);
     }