OAuthTokenRefresher { protected String buildRefreshUrl() { return getTokenUrl(); } OAuthTokenRefresher(); RefreshToken useRefreshToken(String refreshToken); abstract String getTokenUrl(); abstract String getClientId(); abstract String getClientSecret();  }
@Test public void test_buildTokenUrl() { assertEquals("token_url", refresher.buildRefreshUrl()); }