Ejemplo n.º 1
0
 @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());
 }
Ejemplo n.º 2
0
 @Test
 public void testGetQuestionText() {
   assertEquals(qb.getQuestionText().getText(), qt.getText());
   assertEquals(qb.getQuestionText().getQuestionTextFormat(), qt.getQuestionTextFormat());
 }