@Test void testProcessWhenModelDoesNotHavePropertyThatIsReferencedFromTemplate() throws IOException { String notExistingExpressionReference = "{{{notExistingProperty}}}"; String actual = underTest.process(notExistingExpressionReference, getTagPreparationObject()); Assertions.assertEquals(notExistingExpressionReference, actual); }
public String process(String sourceTemplate, TagPreparationObject model) throws IOException { long started = System.currentTimeMillis(); String generatedTemplate = generateTemplateWithParameters(sourceTemplate, model); long generationTime = System.currentTimeMillis() - started; LOGGER.debug("The template text processed successfully by the EL based template processor under {} ms, the text after processing is: {}", generationTime, JsonUtil.minify(generatedTemplate)); return generatedTemplate; }
TagTemplateProcessor { public String process(String sourceTemplate, TagPreparationObject model) throws IOException { long started = System.currentTimeMillis(); String generatedTemplate = generateTemplateWithParameters(sourceTemplate, model); long generationTime = System.currentTimeMillis() - started; LOGGER.debug("The template text processed successfully by the EL based template processor under {} ms, the text after processing is: {}", generationTime, JsonUtil.minify(generatedTemplate)); return generatedTemplate; } }
TagTemplateProcessor { public String process(String sourceTemplate, TagPreparationObject model) throws IOException { long started = System.currentTimeMillis(); String generatedTemplate = generateTemplateWithParameters(sourceTemplate, model); long generationTime = System.currentTimeMillis() - started; LOGGER.debug("The template text processed successfully by the EL based template processor under {} ms, the text after processing is: {}", generationTime, JsonUtil.minify(generatedTemplate)); return generatedTemplate; }  }
TagTemplateProcessor { public String process(String sourceTemplate, TagPreparationObject model) throws IOException { long started = System.currentTimeMillis(); String generatedTemplate = generateTemplateWithParameters(sourceTemplate, model); long generationTime = System.currentTimeMillis() - started; LOGGER.debug("The template text processed successfully by the EL based template processor under {} ms, the text after processing is: {}", generationTime, JsonUtil.minify(generatedTemplate)); return generatedTemplate; }  String process(String sourceTemplate, TagPreparationObject model); }
TagTemplateProcessor { public String process(String sourceTemplate, TagPreparationObject model) throws IOException { long started = System.currentTimeMillis(); String generatedTemplate = generateTemplateWithParameters(sourceTemplate, model); long generationTime = System.currentTimeMillis() - started; LOGGER.debug("The template text processed successfully by the EL based template processor under {} ms, the text after processing is: {}", generationTime, JsonUtil.minify(generatedTemplate)); return generatedTemplate; }  String process(String sourceTemplate, TagPreparationObject model);  }