public void testClean() throws IllegalArgumentException, NoSuchFieldException, IllegalAccessException { tst.clean(); assertEquals(0, ((StringBuilder) getValue(tst, "outputText")).length()); assertEquals(1, tst.getPageNumber()); assertEquals(1, tst.getPageSize()); assertEquals("", tst.getChoiceLabel()); assertEquals("", tst.getQuestionsTxNodeName()); assertEquals("", tst.getQuestionLabel()); }
public void testGetPageNumber() throws NoSuchFieldException, IllegalArgumentException, IllegalAccessException { Object pageNumber = setValue(tst, "pageNumber", 100); assertEquals(pageNumber, tst.getPageNumber()); }