use of com.forgerock.openbanking.common.model.openbanking.domain.event.FREventPolling in project openbanking-aspsp by OpenBankingToolkit.
the class EventPollingServiceTest method acknowledgeEvents_emptyList.
@Test
public void acknowledgeEvents_emptyList() {
// Given
FREventPolling pollingRequest = FREventPolling.builder().ack(Collections.emptyList()).build();
// When
eventPollingService.acknowledgeEvents(pollingRequest, TPP_ID);
// Then
verifyZeroInteractions(mockRepo);
}
use of com.forgerock.openbanking.common.model.openbanking.domain.event.FREventPolling in project openbanking-aspsp by OpenBankingToolkit.
the class EventPollingServiceTest method recordTppEventErrors_noErrors_doNothing.
@Test
public void recordTppEventErrors_noErrors_doNothing() {
// Given
FREventPolling pollingRequest = FREventPolling.builder().setErrs(null).build();
// When
eventPollingService.recordTppEventErrors(pollingRequest, TPP_ID);
// Then
verifyZeroInteractions(mockRepo);
}
Aggregations