X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=impl%2Fsrc%2Ftest%2Fjava%2Forg%2Fwamblee%2Fxmlrouter%2Fimpl%2FRobustTransformationTest.java;h=5e73d6fe239ab0557f12c9d701a63e1ae958433d;hb=75f42f00e16ceee9ea333e598c9287de20ede1c3;hp=967b0e2ba3300b41b1951470d141b09cb62bb6c1;hpb=7ace7a8cf3173112717904aa825a7481dd0804e8;p=xmlrouter 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 967b0e2..5e73d6f 100644 --- a/impl/src/test/java/org/wamblee/xmlrouter/impl/RobustTransformationTest.java +++ b/impl/src/test/java/org/wamblee/xmlrouter/impl/RobustTransformationTest.java @@ -12,7 +12,7 @@ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ + */ package org.wamblee.xmlrouter.impl; import static junit.framework.Assert.*; @@ -35,8 +35,8 @@ public class RobustTransformationTest { @Before public void setUp() { transformation = mock(Transformation.class); - robust = new RobustTransformation(new Id(100), - transformation); + when(transformation.getId()).thenReturn(new Id("t1")); + robust = new RobustTransformation("transformation", transformation); source = mock(DOMSource.class); resSource = mock(DOMSource.class); }