Package ch.bsgroup.scrumit.domain

Examples of ch.bsgroup.scrumit.domain.Sprint


  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());
    }
  }
View Full Code Here


    // get all sprints from database
    Set<Sprint> sprints = service.getAllSprints();
    Iterator<Sprint> iterator = sprints.iterator();

    while (iterator.hasNext()) {
      Sprint sprint = iterator.next();
      service.removeSprint(sprint.getId());
    }

    // check if there are not any sprints there
    sprints = service.getAllSprints();
    assertEquals(0, sprints.size());
View Full Code Here

TOP

Related Classes of ch.bsgroup.scrumit.domain.Sprint

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.