    @Test
    public void testGetStoredExceptions() {

        ExceptionPersister mockExceptionPersister = mock(ExceptionPersister.class);
        CustomExceptionHandler customExceptionHandler = new CustomExceptionHandler(null, null, false);
        customExceptionHandler.exceptionPersister = mockExceptionPersister;
        customExceptionHandler.getStoredExceptions();
        verify(mockExceptionPersister).loadAll();
    }