@Test
public void shouldCreateMoneyTransfer() {

  when(moneyTransferRepository.save(any(MoneyTransfer.class))).thenAnswer(invocation -> {
    ((MoneyTransfer)invocation.getArguments()[0]).setId(MoneyTransferMother.moneyTransferId);
    return null;
  });
  MoneyTransfer moneyTransfer = moneyTransferService.createMoneyTransfer(moneyTransferInfo);
  verify(moneyTransferRepository).save(moneyTransfer);
  verify(transferMoneySagaManager).create(any(TransferMoneySagaState.class));
}