First version after introduction of meaningful ids and Identifiable interface.
[xmlrouter] / impl / src / test / java / org / wamblee / xmlrouter / impl / RobustDocumentTypeTest.java
index 57289dcb5a68b736f6ff7745b4ae5c6334b5bf99..254826cb9573ebc2bc46d87d7562c412220b4714 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(documentType);
         source = mock(DOMSource.class);
     }