when(userFinder.findByLogin(eq("simon.brandhof"))).thenReturn(new User().setName("Simon Brandhof"));
when(userFinder.findByLogin(eq("evgeny.mandrikov"))).thenReturn(new User().setName("Evgeny Mandrikov"));
template = new ReviewEmailTemplate(configuration, userFinder);
}
@Test
<BUG>public void shouldFormatCommentAdded() {
</BUG>
Notification notification = new Notification("review-changed")
.setFieldValue("reviewId", "1")
.setFieldValue("project", "Sonar")

when(userFinder.findByLogin(eq("simon.brandhof"))).thenReturn(new User().setName("Simon Brandhof"));
when(userFinder.findByLogin(eq("evgeny.mandrikov"))).thenReturn(new User().setName("Evgeny Mandrikov"));
template = new ReviewEmailTemplate(configuration, userFinder);
}
@Test
public void should_format_comment_added() {
Notification notification = new Notification("review-changed")
.setFieldValue("reviewId", "1")
.setFieldValue("project", "Sonar")
