    @Test
    public void loadUserByUsername() {

        UserDetails userDetails = userDetailsService.loadUserByUsername("sunriseydy");
        try {
            String json = objectMapper.writeValueAsString(userDetails);
            log.warn(json);
            UserDetails jsonUserDetails = objectMapper.readValue(json, userDetails.getClass());
            log.warn(String.valueOf(jsonUserDetails == null));
        } catch (IOException e) {
            e.printStackTrace();
        }
    }