config = new GenericConfiguration();
config.set("attribute", "binarycontent");
}
public void testTransformer() throws Exception {
ContentTransformer t = new PDFContentTransformer(config);
t.processBean(bean);
String s = TUtil.normalizeCRLF((String) bean.get("binarycontent"));
String x = TUtil.normalizeCRLF("testtext \r\n");
assertEquals("The content (" + s + ") should be (" + x + ")", x, s);
}