@Test
public void testTemplateContent() throws Exception {

  String templateName = "template";
  String templateContent = "This is the media package: ${mediaPackage.identifier}";
  String result = service.applyTemplate(templateName, templateContent, workflowInstance);
  Assert.assertEquals("This is the media package: 3e7bb56d-2fcc-4efe-9f0e-d6e56422f557", result);
}