@Test(expected = IllegalStateException.class)
public void initialize_shouldFailWithoutEndpoint() throws Exception {

    UserInfoResolver userInfoResolver = new UserInfoResolver();
    userInfoResolver.initialize();
}