removed the prefix argument from ConfigImpl.wrap().
[xmlrouter] / impl / src / test / java / org / wamblee / xmlrouter / impl / RobustDocumentTypeTest.java
index 254826cb9573ebc2bc46d87d7562c412220b4714..8db9ff25fe2d855381c4e9c258dd6ada67c728b9 100644 (file)
@@ -23,6 +23,7 @@ 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 {
@@ -34,6 +35,7 @@ public class RobustDocumentTypeTest {
     @Before
     public void setUp() {
         documentType = mock(DocumentType.class);
+        when(documentType.getId()).thenReturn(new Id<DocumentType>("docid"));
         robust = new RobustDocumentType(documentType);
         source = mock(DOMSource.class);
     }