git://wamblee.org
/
xmlrouter
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RobustIdentifiable implemented and tested + test impacts.
[xmlrouter]
/
impl
/
src
/
test
/
java
/
org
/
wamblee
/
xmlrouter
/
impl
/
RobustDocumentTypeTest.java
diff --git
a/impl/src/test/java/org/wamblee/xmlrouter/impl/RobustDocumentTypeTest.java
b/impl/src/test/java/org/wamblee/xmlrouter/impl/RobustDocumentTypeTest.java
index aa724e26f3d10ca0f46fb3f976ad410ea0a470cf..2c295b59623fd071cb3fe0627eaa67a5af106d30 100644
(file)
--- a/
impl/src/test/java/org/wamblee/xmlrouter/impl/RobustDocumentTypeTest.java
+++ b/
impl/src/test/java/org/wamblee/xmlrouter/impl/RobustDocumentTypeTest.java
@@
-23,6
+23,7
@@
import javax.xml.transform.dom.DOMSource;
import org.junit.Before;
import org.junit.Test;
import org.junit.Before;
import org.junit.Test;
+import org.wamblee.xmlrouter.common.Id;
import org.wamblee.xmlrouter.config.DocumentType;
public class RobustDocumentTypeTest {
import org.wamblee.xmlrouter.config.DocumentType;
public class RobustDocumentTypeTest {
@@
-34,6
+35,7
@@
public class RobustDocumentTypeTest {
@Before
public void setUp() {
documentType = mock(DocumentType.class);
@Before
public void setUp() {
documentType = mock(DocumentType.class);
+ when(documentType.getId()).thenReturn(new Id<DocumentType>("docid"));
robust = new RobustDocumentType("app1", documentType);
source = mock(DOMSource.class);
}
robust = new RobustDocumentType("app1", documentType);
source = mock(DOMSource.class);
}