"1.0", "admin", "2013-01-01..2014-06-01");
}
@Test
public void getContribStatsSingleTarget() {
PersonDAO personDAO = seam.autowire(PersonDAO.class);
// Initial state = needReview
HTextFlowTarget target = textFlowTargetDAO.findById(2L);
int wordCount = target.getTextFlow().getWordCount().intValue();
String todayDate = formatter.format(today);
String username = "demo";
HPerson demoPerson = personDAO.findByUsername(username);
ContributionStatistics initialStats =
statisticsService.getContributionStatistics(
"sample-project", "1.0", username, todayDate + ".."
+ todayDate);