use of org.ambraproject.rhino.model.Comment in project rhino by PLOS.
the class CommentOutputViewTest method init.
@BeforeMethod
public void init() {
when(runtimeConfiguration.getCompetingInterestPolicyStart()).thenReturn(LocalDate.now(ZoneId.systemDefault()));
Comment comment = createStubComment();
factory = new CommentOutputView.Factory(new CompetingInterestPolicy(runtimeConfiguration), ImmutableList.of(comment), comment.getArticle());
}
Aggregations