public void test_decoder_defined() throws IOException, SAXException {
Smooks smooks = new Smooks(getClass().getResourceAsStream("config_01.xml"));
JavaResult javaResult = new JavaResult();
smooks.filterSource(new StringSource("<price>123'456,00</price>"), javaResult);
OrderItem orderItem = (OrderItem) javaResult.getBean("orderItem");
assertEquals(123456.00D, orderItem.getPrice());
BigDecimal baseBigD = (BigDecimal) javaResult.getBean("price");