@Test public void should_return_rigth_size() throws Exception { application.setElementValues(QuestionsMock.getMockAllGood()); Assert.assertEquals(application.getQuestionsSize().intValue(), 9); }
@Test public void should_return_in_the_limit() throws Exception { application.setElementValues(QuestionsMock.getMockAllGood()); Assert.assertFalse(application.isQuestionsOverLimit()); }