public boolean isUseRouteBuilder() {
return false;
}
public void testMarshalMandatoryConversionFailed() throws Exception {
DataFormat dataFormat = new ZipDataFormat();
try {
dataFormat.marshal(new DefaultExchange(new DefaultCamelContext()), new Object(), new ByteArrayOutputStream());
fail("Should have thrown an exception");
} catch (NoTypeConversionAvailableException e) {
// expected
}
}