* 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.*;
@Before
public void setUp() {
transformation = mock(Transformation.class);
- robust = new RobustTransformation(new Id<Transformation>(100),
- transformation);
+ when(transformation.getId()).thenReturn(new Id<Transformation>("t1"));
+ robust = new RobustTransformation("transformation", transformation);
source = mock(DOMSource.class);
resSource = mock(DOMSource.class);
}