tokenRequirements.setValidateTarget(renewTarget);
validatorParameters.setToken(renewTarget);
// Validate the token
TokenValidatorResponse validatorResponse =
samlTokenValidator.validateToken(validatorParameters);
assertTrue(validatorResponse != null);
assertTrue(validatorResponse.getToken() != null);
assertTrue(validatorResponse.getToken().getState() == STATE.EXPIRED);
assertTrue(validatorResponse.getTokenRealm().equals("A"));