private String template;
private VelocityEngine velocityEngine;
@Before
public void setUp() throws Exception {
project = new Project();
alert = new Alert();
alert.setProjectName("flash-dog");
projectService = mock(ProjectService.class);
when(projectService.findProject(alert.getProjectName())).thenReturn(project);
notifier.setProjectService(projectService);
template = "<?xml version=\"1.0\" encoding=\"GBK\"?>\n" +