"Retry-After: 1230 (I'm in a meeting);fg=der;duration=23\n"
};
super.testParser(RetryAfterParser.class, rr);
try {
RetryAfter retryAfter = new RetryAfter();
retryAfter.setRetryAfter(100);
retryAfter.setDuration(10);
retryAfter.setComment("foo");
System.out.println(new RetryAfterParser(retryAfter.encode()).parse().toString());
assertTrue( retryAfter.equals(new RetryAfterParser(retryAfter.encode()).parse()));
} catch (Exception ex) {
fail("Could not parse encoded header");
}
}