@PostMapping
    public AccountLogsResult getAccountLogs(@RequestBody @Valid AccountLogsRequest request,
                                            @RequestHeader(MijnDigidSession.MIJN_DIGID_SESSION_HEADER) String mijnDigiDsessionId){
        MijnDigidSession mijnDigiDSession = retrieveMijnDigiDSession(mijnDigiDsessionId);

        return accountService.getAccountLogs(mijnDigiDSession.getAccountId(), mijnDigiDSession.getDeviceName(), mijnDigiDSession.getAppCode(), request);
    }
@Test
    public void testValidRequest() {
        AccountLogsRequest request = new AccountLogsRequest();
        request.setPageId(1);

        AccountLogsResult result = new AccountLogsResult();
        result.setTotalItems(10);
        result.setTotalPages(1);
        List<AccountLog> results = new ArrayList<>();
        result.setResults(results);
        result.setStatus(Status.OK);
        result.setError("error");

        when(accountService.getAccountLogs(anyLong(), anyString(), anyString(), any())).thenReturn(result);

        AccountLogsResult accountLogs = accountLogsController.getAccountLogs(request, mijnDigiDSession.getId());

        assertEquals(Status.OK, accountLogs.getStatus());
        assertEquals("error", accountLogs.getError());
        assertEquals(10, accountLogs.getTotalItems());
        assertEquals(1, accountLogs.getTotalPages());
        assertEquals(results, accountLogs.getResults());
    }