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 57289dcb5a68b736f6ff7745b4ae5c6334b5bf99..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
@@
-35,7
+35,8
@@
public class RobustDocumentTypeTest {
@Before
public void setUp() {
documentType = mock(DocumentType.class);
@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("app1", documentType);
source = mock(DOMSource.class);
}
source = mock(DOMSource.class);
}