use of teammates.ui.template.FeedbackQuestionCopyTable in project teammates by TEAMMATES.
the class InstructorFeedbackQuestionCopyPageDataTest method allTests.
@Test
public void allTests() {
______TS("Typical case");
List<FeedbackQuestionAttributes> copiableQuestions = new ArrayList<>();
copiableQuestions.addAll(dataBundle.feedbackQuestions.values());
InstructorFeedbackQuestionCopyPageData data = new InstructorFeedbackQuestionCopyPageData(dataBundle.accounts.get("instructor1OfCourse1"), dummySessionToken, copiableQuestions);
FeedbackQuestionCopyTable copyForm = data.getCopyQnForm();
assertEquals(dataBundle.feedbackQuestions.size(), copyForm.getQuestionRows().size());
}
Aggregations