handler.setChild(wrapper, 0, new ElementInfo(INPUT, null), "IBM");
Assert.assertEquals("IBM", wrapper.getInput());
}
public void testGetChildren() {
StockQuoteOffer wrapper = new StockQuoteOffer();
wrapper.setInput("IBM");
List<ElementInfo> elements = new ArrayList<ElementInfo>();
elements.add(new ElementInfo(INPUT, null));
WrapperInfo wrapperInfo = new WrapperInfo(JAXBDataBinding.NAME, null, null, elements, null);
Operation op = new OperationImpl();
op.setWrapper(wrapperInfo);