示例#1
0
 @Test
 public void testRetrieveFirstTask() {
   firstStory.createTask("name of task");
   List<BaseTask> storyTasks = firstStory.getChildren();
   BaseTask firstTask = storyTasks.get(0);
   assertEquals("name of task", firstTask.getName());
 }
示例#2
0
 @Test
 public void testCreateNewStory() {
   assertEquals(STORY_NAME, firstStory.getName());
 }