@Test public void testSetQuestionText() { QuestionText text = new QuestionText("", QuestionTextFormat.html); qb.setQuestionText(text); assertEquals(qb.getQuestionText().getText(), text.getText()); assertEquals(qb.getQuestionText().getQuestionTextFormat(), text.getQuestionTextFormat()); }
@Test public void testGetQuestionText() { assertEquals(qb.getQuestionText().getText(), qt.getText()); assertEquals(qb.getQuestionText().getQuestionTextFormat(), qt.getQuestionTextFormat()); }