public StatusResponse userLogin(OpenIdSession session, Long accountId, String authenticationLevel, String authenticationStatus){
        var bsnResponse = adClient.getBsn(accountId);

        session.setAuthenticationLevel(authenticationLevel);
        session.setAuthenticationState(authenticationStatus);
        session.setAccountId(accountId);
        session.setBsn(bsnResponse.get("bsn"));

        openIdRepository.save(session);

        return new StatusResponse("OK");
    }
@Test
    void userLoginTest() {
        OpenIdSession openIdSession = new OpenIdSession();
        var bsnResponse = Map.of("bsn", "1");

        when(adClient.getBsn(1L)).thenReturn(bsnResponse);

        StatusResponse response = openIdService.userLogin(openIdSession, 1L, "10", "authenticated");

        assertEquals("OK", response.getStatus());
    }