    @Test
    public void testSaveAccountInfo() throws Exception {

        OidcKeycloakAccount account = new SimpleKeycloakAccount(principal, Collections.singleton("FOO"), keycloakSecurityContext);
        Authentication authentication;

        store.saveAccountInfo(account);
        authentication = SecurityContextHolder.getContext().getAuthentication();

        assertNotNull(authentication);
        assertTrue(authentication instanceof KeycloakAuthenticationToken);
    }