@Test
public void testConfiguration() {
ClassPathXmlApplicationContext context =
new ClassPathXmlApplicationContext(
new String[] {"/org/apache/cxf/binding/jbi/spring/binding.xml"});
JBIBindingConfiguration bindingConfiguration =
(JBIBindingConfiguration) context.getBean("myJBIBinding");
assertNotNull("The configuration should not be null", bindingConfiguration);
assertEquals("The mtom property should be true", bindingConfiguration.isMtomEnabled(), true);
}