@Test
public void testTemplateWithLocalizedPlaceholder() throws Exception {

	String template = "This template is in [$LOCALIZED_VALUE$]";
	MailTemplate mailTemplate = new DefaultMailTemplate(template, false);
	String result = mailTemplate.renderAsString(
		Locale.ENGLISH, _mailTemplateContext);
	Assert.assertEquals("This template is in en", result);
}