@Test
public void testProcessPlainTextTemplate() throws Exception {

	assertEquals(String.format("Incident for check 'Test Timer':\n" +
			"First failure: %s\n" +
			"Old status: OK\n" +
			"New status: CRITICAL\n" +
			"Failing checks: 2\n" +
			"Hosts: testHost2\n" +
			"Instances: testInstance\n" +
			"\n" +
			"Details:" +
			"\n" +
			"Host:			testHost2\n" +
			"Instance:		testInstance\n" +
			"Status: 		CRITICAL\n" +
			"Description:	test\n" +
			"Current value:	10\n" +
			"\n" +
			"Host:			testHost2\n" +
			"Instance:		testInstance\n" +
			"Status: 		ERROR\n" +
			"Description:	test\n" +
			"Current value:	10\n\n", toFreemarkerIsoLocal(testIncident.getFirstFailureAt())),
			alertTemplateProcessor.processPlainTextTemplate(testIncident));
}