use of org.stepik.core.courseFormat.CourseNode in project intellij-plugins by StepicOrg.
the class StudyNodeTest method setUp.
@Before
public void setUp() throws Exception {
courseNode = new CourseNode();
sectionNode = new SectionNode();
sectionNode.setId(1);
sectionNode.setParent(courseNode);
lessonNode = new LessonNode();
lessonNode.setId(1);
lessonNode.setParent(sectionNode);
stepNode = new StepNode();
stepNode.setId(1);
stepNode.setParent(lessonNode);
courseNode.getChildren().add(sectionNode);
sectionNode.getChildren().add(lessonNode);
lessonNode.getChildren().add(stepNode);
}
Aggregations