@Test
public void testTemplateNotFound() throws Exception {

  operation.setConfiguration(EmailWorkflowOperationHandler.TO_PROPERTY, DEFAULT_TO);
  operation.setConfiguration(EmailWorkflowOperationHandler.CC_PROPERTY, DEFAULT_CC);
  operation.setConfiguration(EmailWorkflowOperationHandler.BCC_PROPERTY, DEFAULT_BCC);
  operation.setConfiguration(EmailWorkflowOperationHandler.SUBJECT_PROPERTY, DEFAULT_SUBJECT);
  operation.setConfiguration(EmailWorkflowOperationHandler.BODY_TEMPLATE_FILE_PROPERTY, "templateNotFound");
  operationHandler.start(workflowInstance, null);
  Assert.assertEquals(DEFAULT_TO, capturedTo.getValue());
  Assert.assertEquals(DEFAULT_CC, capturedCC.getValue());
  Assert.assertEquals(DEFAULT_BCC, capturedBCC.getValue());
  Assert.assertEquals(DEFAULT_SUBJECT, capturedSubject.getValue());
  Assert.assertEquals("TEMPLATE NOT FOUND!", capturedBody.getValue());
}