public static void testCachedRenderResult() {
CachedItemStatus cis = new CachedItemStatus(0);
HashMap<String, String> headers = new HashMap<String, String>();
RenderResult rr = new RenderResult(headers, new StringBuilder(), 123);
CachedRenderResult crr = new CachedRenderResult(cis, rr);
Cache.safeAdd("crr", crr, "10s");
crr = (CachedRenderResult) Cache.get("crr");
if(crr.isExpired())
renderText("good to know..");
else
renderText("bad to know..");
}