@Test public void noContext() throws Exception { RenderingContext ctx = RenderingContext.CtxBuilder.get(); assertNull(ctx.getParameter(PARAM)); }
private static WrappedContext get(RenderingContext ctx) { if (ctx != null) { return ctx.getParameter(WRAPPED_CONTEXT); } else { throw new MarshallingException("Cannot get a wrapped context without RenderingContext"); } }
WrappedContext { private static WrappedContext get(RenderingContext ctx) { if (ctx != null) { return ctx.getParameter(WRAPPED_CONTEXT); } else { throw new MarshallingException("Cannot get a wrapped context without RenderingContext"); } } }
WrappedContext { private static WrappedContext get(RenderingContext ctx) { if (ctx != null) { return ctx.getParameter(WRAPPED_CONTEXT); } else { throw new MarshallingException("Cannot get a wrapped context without RenderingContext"); } } private  WrappedContext(RenderingContext ctx); }
WrappedContext { private static WrappedContext get(RenderingContext ctx) { if (ctx != null) { return ctx.getParameter(WRAPPED_CONTEXT); } else { throw new MarshallingException("Cannot get a wrapped context without RenderingContext"); } } private  WrappedContext(RenderingContext ctx); WrappedContext with(String key, Object value); WrappedContext controlDepth(); Map<String, Object> flatten(); Closeable open(); @Override String toString(); }
WrappedContext { private static WrappedContext get(RenderingContext ctx) { if (ctx != null) { return ctx.getParameter(WRAPPED_CONTEXT); } else { throw new MarshallingException("Cannot get a wrapped context without RenderingContext"); } } private  WrappedContext(RenderingContext ctx); WrappedContext with(String key, Object value); WrappedContext controlDepth(); Map<String, Object> flatten(); Closeable open(); @Override String toString();  }