@Test
public void testProcessTemplate4() throws Exception {

	Template template = new VelocityTemplate(
		new MockTemplateResource(_TEMPLATE_FILE_NAME), null,
		_velocityEngine, _templateContextHelper, _templateResourceCache,
		false);
	template.put(_TEST_KEY, _TEST_VALUE);
	UnsyncStringWriter unsyncStringWriter = new UnsyncStringWriter();
	template.processTemplate(
		unsyncStringWriter,
		() -> new MockTemplateResource(_WRONG_ERROR_TEMPLATE_ID));
	String result = unsyncStringWriter.toString();
	Assert.assertEquals(_TEST_VALUE, result);
}