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");
assertEquals(new BigDecimal("123456.00"), baseBigD);
}