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