OpenOAuth2s { public String authenticationUrl(String redirect) { return authenticationUrl(redirect, "snsapi_base"); }  static OpenOAuth2s defaultOpenOAuth2s(); static OpenOAuth2s with(AppSetting appSetting); void setWxClient(WxClient wxClient); String authenticationUrl(String redirect); String authenticationUrl(String redirect, String scope); String authenticationUrl(String redirect, String scope, String state); AccessToken getAccessToken(String code); AccessToken refreshToken(String refreshToken); OpenUser userInfo(String accessToken, String openId); OpenUser userInfo(String accessToken, String openId, String lang);  }
@Test public void testAuthenticationUrl(){ String url = OpenOAuth2s.defaultOpenOAuth2s().authenticationUrl("http: Assert.assertNotNull(url); }