@Test
public void testPopulateOmegaContextWhenItsNotEmpty() {

  OmegaContext omegaContext = new OmegaContext(null);
  omegaContext.setGlobalTxId("global-tx-id");
  omegaContext.setLocalTxId("local-tx-id");
  transactionContextHelper.populateOmegaContext(omegaContext, txContext);
  assertEquals(transactionGlobalTxId, omegaContext.globalTxId());
  assertEquals(transactionLocalTxId, omegaContext.localTxId());
}