Renew renewRequest = new Renew();
ExpirationType renewExp = new ExpirationType();
renewExp.setValue(DurationAndDateUtil
.convertToXMLString(DurationAndDateUtil.parseDurationOrTimestamp("PT10M0S"))); // 10 minutes
renewRequest.setExpires(renewExp);
client.renewOp(renewRequest);
response = client.getStatusOp(new GetStatus());
String expirationAfter = response.getGrantedExpires().getValue();
System.out.println("EXPIRES after renew: " + expirationAfter);
Assert.assertFalse("Renew request should change the expiration time at least a bit",