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