@Test
public void testProcessTemplate2() throws Exception {

	Template template = new VelocityTemplate(
		new MockTemplateResource(_WRONG_TEMPLATE_ID), null, _velocityEngine,
		_templateContextHelper, _templateResourceCache, false);
	template.put(_TEST_KEY, _TEST_VALUE);
	UnsyncStringWriter unsyncStringWriter = new UnsyncStringWriter();
	try {
		template.processTemplate(unsyncStringWriter);
		Assert.fail();
	}
	catch (TemplateException templateException) {
		String message = templateException.getMessage();
		Assert.assertTrue(message, message.contains(_WRONG_TEMPLATE_ID));
	}
}