예제 #1
0
 @Test
 public void testDisplayFirstStory() {
   List<BaseTask> stories = organiser.getChildren();
   assertEquals(1, stories.size());
   assertEquals(STORY_NAME, stories.get(0).getName());
 }
예제 #2
0
  /*
   * Display all stories and all Tasks
   * Display all tasks
   * Increase priority of story
   */
  @Before
  public void setup() {

    organiser = new Organiser("Organiser");
    firstStory = organiser.createStory(STORY_NAME);
  }