@Test
public void testCreateElement() throws Exception {

    Receipt receipt = new Receipt();
    OMElement receiptChildElement =
            soapEnvelope.getOMFactory().createOMElement(RECEIPT_CHILD_ELEMENT_NAME);
    ArrayList<OMElement> content = new ArrayList<>();
    content.add(receiptChildElement);
    receipt.setContent(content);
    OMElement rElement = ReceiptElement.createElement(headerBlock, receipt);
    assertEquals(SIGNAL_MESSAGE_ELEMENT_NAME, rElement.getQName());
}