TCTokenVerifier { public void verifySessionIdentifier() throws InvalidRedirectUrlException, InvalidTCTokenElement { String value = token.getSessionIdentifier(); assertRequired("SessionIdentifier", value); } 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 testVerifySessionIdentifier() throws ActivationError { token.setSessionIdentifier(""); verifier.verifySessionIdentifier(); }