@Test
public void testGetName_specified_without_generics() {
final QName fromName = new QName("string1");
final QName toName = new QName("string2");
BaseTransformer intToStr =
new BaseTransformer(fromName, toName) {
public Object transform(Object from) {
return null;
}
};
Assert.assertEquals(fromName, intToStr.getFrom());
Assert.assertEquals(toName, intToStr.getTo());
}