diff --git a/src/com/googlecode/yatspec/rendering/html/HtmlResultRenderer.java b/src/com/googlecode/yatspec/rendering/html/HtmlResultRenderer.java index fd53347d..d53cb1b4 100644 --- a/src/com/googlecode/yatspec/rendering/html/HtmlResultRenderer.java +++ b/src/com/googlecode/yatspec/rendering/html/HtmlResultRenderer.java @@ -75,7 +75,7 @@ public HtmlResultRenderer withCustomRenderer(Class klazz, Renderer ren return withCustomRenderer((Predicate) instanceOf(klazz), renderer); } - private HtmlResultRenderer withCustomRenderer(Predicate predicate, Renderer renderer) { + public HtmlResultRenderer withCustomRenderer(Predicate predicate, Renderer renderer) { customRenderers.add(Pair.pair(predicate, renderer)); return this; }