TCTokenVerifier { public void verifyRefreshAddress() throws InvalidRedirectUrlException, InvalidTCTokenElement, UserCancellationException { String value = token.getRefreshAddress(); assertRequired("RefreshAddress", value); try { assertHttpsURL("RefreshAddress", value); } catch (InvalidTCTokenUrlException ex) { determineRefreshAddress(ex); } } TCTokenVerifier(@Nonnull TCToken token, ResourceContext ctx); boolean isErrorToken(); void verifyUrlToken(); void verifyServerAddress(); void verifySessionIdentifier(); void verifyRefreshAddress(); void verifyCommunicationErrorAddress(); void verifyBinding(); void verifyPathSecurity();  }
@Test(expectedExceptions = InvalidTCTokenElement.class) public void testVerifyRefreshAddress() throws ActivationError { token.setRefreshAddress(null); token.setCommunicationErrorAddress("https: verifier.verifyRefreshAddress(); }