git://wamblee.org
/
xmlrouter
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
removed the prefix argument from ConfigImpl.wrap().
[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 e3a0d470cf1368082ab972e99036c586b547fada..f7b4ec6a88a4545a535ef995fc693747062d4492 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", transformation);
+ when(transformation.getId()).thenReturn(new Id<Transformation>("t1"));
+ robust = new RobustTransformation(transformation);
source = mock(DOMSource.class);
resSource = mock(DOMSource.class);
}
source = mock(DOMSource.class);
resSource = mock(DOMSource.class);
}