@Test public void testSimpleString() throws Exception { final StringWriter writer = new StringWriter(); processor.process(null, new StringReader("Hello {name}!"), writer); final String result = writer.toString(); assertTrue(result.matches("\\(function\\(\\)\\{.*\\}\\)\\(\\);")); }
/** {@inheritDoc} */ public void process(final Resource resource, final Reader reader, final Writer writer) throws IOException { decoratedProcessor.process(resource, reader, writer); }