PartInfoElement { public static Iterator<OMElement> getElements(final OMElement plElement) { return plElement.getChildrenWithName(Q_ELEMENT_NAME); }  static OMElement createElement(final OMElement plElement, final IPayload data); static Iterator<OMElement> getElements(final OMElement plElement); static org.holodeckb2b.common.messagemodel.Payload readElement(final OMElement piElement); static final QName Q_ELEMENT_NAME; }
@Test public void testGetElements() throws Exception { Payload partInfo = new Payload(); PartInfoElement.createElement(plElement, partInfo); Iterator<OMElement> it = PartInfoElement.getElements(plElement); assertNotNull(it); assertTrue(it.hasNext()); }