### Question:
LogEventRepositoryImpl implements EventRepository { @Override public Long save(EventPO eventPO) { EventLogMessage logMessage = EventLogMessage.builder(eventPO) .withTimestamp() .withEventOrigin() .withEventType() .withInternalRequestId() .withXRequestId() .withConsentId() .withPaymentId() .withTppAuthorisationNumber() .withPsuData() .withPayload() .build(); eventLogger.logMessage(logMessage); return 0L; }  @Override Long save(EventPO eventPO);  }### Answer:
@Test void save_shouldLogEvent() { EventPO eventPO = jsonReader.getObjectFromFile("json/logger/event.json", EventPO.class); EventLogMessage logMessage = EventLogMessage.builder(eventPO) .withTimestamp() .withEventOrigin() .withEventType() .withInternalRequestId() .withXRequestId() .withConsentId() .withPaymentId() .withTppAuthorisationNumber() .withPsuData() .withPayload() .build(); Long savedEventId = logEventRepositoryImpl.save(eventPO); assertNotNull(savedEventId); verify(eventLogger).logMessage(logMessage); }