### Question:
UserInfoTokenServices extends RemoteTokenServices { public UserInfoTokenServices(String userInfoEndpointUrl, String clientId) { this.userInfoEndpointUrl = userInfoEndpointUrl; this.clientId = clientId; } UserInfoTokenServices(String userInfoEndpointUrl, String clientId); void setTokenType(String tokenType); void setRestTemplate(OAuth2RestOperations restTemplate); void setAuthoritiesExtractor(AuthoritiesExtractor authoritiesExtractor); void forTest(); @Override OAuth2Authentication loadAuthentication(String accessToken); @Override OAuth2AccessToken readAccessToken(String accessToken);  }### Answer:
@Test(expected = Exception.class) public void testUserInfoTokenServices() { UserInfoTokenServices userInfoTokenServices = new UserInfoTokenServices("", ""); userInfoTokenServices.forTest(); }