* 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.*;
from = aFrom;
to = aTo;
}
-
+
@Override
public String getName() {
return "myname";
assertNull(transformations.getPath("C", "B"));
}
+ @Test
+ public void testUnknownDestination() {
+ transformations.addTransformation(new MyTransformation("A", "B"));
+ assertNull(transformations.getPath("A", "D"));
+ }
+
@Test
public void testWithoutTransformations() {
Collection<String> res = transformations.getPossibleTargetTypes("a");