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
/
RobustTransformationTest.java
diff --git
a/impl/src/test/java/org/wamblee/xmlrouter/impl/RobustTransformationTest.java
b/impl/src/test/java/org/wamblee/xmlrouter/impl/RobustTransformationTest.java
index 25327cb977d037e360c6a9e2683358fc1c6946b2..5e73d6fe239ab0557f12c9d701a63e1ae958433d 100644
(file)
--- a/
impl/src/test/java/org/wamblee/xmlrouter/impl/RobustTransformationTest.java
+++ b/
impl/src/test/java/org/wamblee/xmlrouter/impl/RobustTransformationTest.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.Transformation;
public class RobustTransformationTest {
import org.wamblee.xmlrouter.config.Transformation;
public class RobustTransformationTest {
@@
-34,7
+35,8
@@
public class RobustTransformationTest {
@Before
public void setUp() {
transformation = mock(Transformation.class);
@Before
public void setUp() {
transformation = mock(Transformation.class);
- robust = new RobustTransformation(transformation);
+ when(transformation.getId()).thenReturn(new Id<Transformation>("t1"));
+ robust = new RobustTransformation("transformation", transformation);
source = mock(DOMSource.class);
resSource = mock(DOMSource.class);
}
source = mock(DOMSource.class);
resSource = mock(DOMSource.class);
}