ClientMustacheTemplateRenderer implements MustacheTemplateRenderer<Object> { @PostConstruct protected void init() { final MustacheSource source = sourceSupplier.get(); inject(source.mustache().getText()); } @Inject  ClientMustacheTemplateRenderer(); protected  ClientMustacheTemplateRenderer(final Supplier<MustacheSource> sourceSupplier, final Function<String,
            ScriptInjector.FromString> scriptInjector); String render(final String template, final Object data);  }
@Test public void init() { tested.init(); verify(source).getText(); verify(injector).apply(SOURCE_TXT); verify(script).setWindow(ScriptInjector.TOP_WINDOW); verify(script).setRemoveTag(false); verify(script).inject(); }