public void testFindSprintById() {
// fetching the first sprint
Set<Sprint> sprints = service.getAllSprints();
Iterator<Sprint> iterator = sprints.iterator();
if (iterator.hasNext()) {
Sprint sprint = iterator.next();
// search the equivalent sprint via id
Sprint newSprint = service.findSprintById(sprint.getId());
// check the slogan
assertEquals(sprint.getSlogan(), newSprint.getSlogan());
}
}