X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=impl%2Fsrc%2Ftest%2Fjava%2Forg%2Fwamblee%2Fxmlrouter%2Fimpl%2FSingleRouterConfigTest.java;h=a344f7201b34bd48a88e37ef2078ffd7db9c5f89;hb=6c41c1cabffcc509c5b736f73578930808f6616f;hp=280e6dac420fb78b05b89a8c2f0ce6c1051bd0c3;hpb=e52385618670b54a5c6a4f2fbfab381bef43a905;p=xmlrouter diff --git a/impl/src/test/java/org/wamblee/xmlrouter/impl/SingleRouterConfigTest.java b/impl/src/test/java/org/wamblee/xmlrouter/impl/SingleRouterConfigTest.java index 280e6da..a344f72 100644 --- a/impl/src/test/java/org/wamblee/xmlrouter/impl/SingleRouterConfigTest.java +++ b/impl/src/test/java/org/wamblee/xmlrouter/impl/SingleRouterConfigTest.java @@ -40,7 +40,7 @@ public class SingleRouterConfigTest { DocumentType type1 = mock(DocumentType.class); when(type1.getId()).thenReturn(new Id("type1")); DocumentType type2 = mock(DocumentType.class); - when(type1.getId()).thenReturn(new Id("type2")); + when(type2.getId()).thenReturn(new Id("type2")); config.documentTypeConfig().add(type1); config.documentTypeConfig().add(type2); @@ -54,7 +54,7 @@ public class SingleRouterConfigTest { Transformation transformation1 = mock(Transformation.class); when(transformation1.getId()).thenReturn(new Id("t1")); Transformation transformation2 = mock(Transformation.class); - when(transformation1.getId()).thenReturn(new Id("t2")); + when(transformation2.getId()).thenReturn(new Id("t2")); config.transformationConfig().add(transformation1); @@ -69,7 +69,7 @@ public class SingleRouterConfigTest { Filter filter1 = mock(Filter.class); when(filter1.getId()).thenReturn(new Id("f1")); Filter filter2 = mock(Filter.class); - when(filter1.getId()).thenReturn(new Id("f2")); + when(filter2.getId()).thenReturn(new Id("f2")); config.filterConfig().add(filter1);