public void notify(DashboardNotification e) {
        notificationMappers.stream()
                .filter(notificationMapper -> notificationMapper.supports(e))
                .map(notificationMapper -> notificationMapper.map(e))
                .forEach(this::saveDashboardNotificationAsMetadata);
    }
@Test
    void noExceptionIsThrownForConcurrentSlowRunNotification() {
        doThrow(new StorageException("a storage exception"))
                .when(storageProviderMock).saveMetadata(any(JobRunrMetadata.class));

        assertThatCode(() -> dashboardNotificationManager.notify(new PollIntervalInSecondsTimeBoxIsTooSmallNotification(1, 5, Instant.now(), 6)))
                .doesNotThrowAnyException();
    }