@Test
public void testWorkflowConfiguration() throws Exception {

  String templateName = "templateConfig";
  String templateContent = "This is an email address: ${workflowConfig['emailAddress']}";
  String result = service.applyTemplate(templateName, templateContent, workflowInstance);
  Assert.assertEquals("This is an email address: user@domain.com", result);
}