@Test
public void storeReceipt() throws PersistenceException {

    ReceiptEntity receiptEntity =
            updManager.storeMessageUnit(new org.holodeckb2b.common.messagemodel.Receipt(TestData.receipt6));
    assertNotNull(receiptEntity);
    assertEquals(TestData.receipt6.getMessageId(), receiptEntity.getMessageId());
    assertEquals(TestData.receipt6.getRefToMessageId(), receiptEntity.getRefToMessageId());
    assertEquals(TestData.receipt6.getTimestamp(), receiptEntity.getTimestamp());
    assertFalse(Utils.isNullOrEmpty(receiptEntity.getContent()));
    assertEquals(TestData.receipt6.getContent().get(0).getQName(), receiptEntity.getContent().get(0).getQName());
    assertEquals(TestData.receipt6.getContent().get(0).getText(), receiptEntity.getContent().get(0).getText());
}