public class JAXBConverterMessageTypeTest extends TestCase {
protected CamelContext context = new DefaultCamelContext();
protected TypeConverter converter = context.getTypeConverter();
public void testConverter() throws Exception {
MessageDefinition message = converter.convertTo(MessageDefinition.class, "<message><hello>bar</hello></message>");
assertNotNull("Message should not be null!", message);
}