@Test
public void testUnmarshallingLeg() throws Exception {
StreamSource source = new StreamSource(new StringReader(this.exampleQuoteXml));
Object unmarshalled = marshaller.unmarshal(source);
assertEquals("Wrong class returned by unmrshalling", LegQuoteCommand.class, unmarshalled.getClass());
LegQuoteCommand legQuoteReq = (LegQuoteCommand)unmarshalled;
assertEquals("Wrong leg location", exampleLegQuote.getLeg(), legQuoteReq.getLeg());
}