SignalMessageElement { public static OMElement createElement(final OMElement messaging) { final OMFactory f = messaging.getOMFactory(); final OMElement signalmessage = f.createOMElement(Q_ELEMENT_NAME, messaging); return signalmessage; }  static OMElement createElement(final OMElement messaging); static Iterator<OMElement> getElements(final OMElement messaging); static final QName Q_ELEMENT_NAME; }
@Test public void testCreateElement() throws Exception { OMElement smElement = SignalMessageElement.createElement(headerBlock); assertEquals(SIGNAL_MESSAGE_ELEMENT_NAME, smElement.getQName()); }