assertTrue(resultMessage.contains("Google Inc."));
}
@Test
public void consumeWebserviceWithPojoRequestAndPojoResponse() throws Exception {
QuoteRequest request = new QuoteRequest();
request.setSymbol("GOOG");
Object result = template.requestBody("direct:webservice-marshall-unmarshall", request);
assertNotNull(result);
assertTrue(result instanceof QuoteResponse);