@Test public void shouldReturnCorrectNumberOfOptions() { assertEquals(2, multipleOptionModeQuestion.numberOfCorrectOptions()); }
public int numberOfCorrectOptions() { int count = countCorrectOptions(options); return count; }
MultipleChoiceQuestion extends AbstractQuestion { public int numberOfCorrectOptions() { int count = countCorrectOptions(options); return count; } }
MultipleChoiceQuestion extends AbstractQuestion { public int numberOfCorrectOptions() { int count = countCorrectOptions(options); return count; } MultipleChoiceQuestion(String questionText, String explanationText, List<Option> options,
            boolean shufflable, boolean singleOptionMode); }
MultipleChoiceQuestion extends AbstractQuestion { public int numberOfCorrectOptions() { int count = countCorrectOptions(options); return count; } MultipleChoiceQuestion(String questionText, String explanationText, List<Option> options,
            boolean shufflable, boolean singleOptionMode); List<Option> getOptions(); int numberOfCorrectOptions(); static int countCorrectOptions(List<Option> localOptions); int numberOfOptions(); boolean isShufflable(); boolean isSingleOptionMode(); boolean isCorrect(Answer generalAnswer); boolean isAnswered(Answer generalAnswer, boolean numberOfOptionsNeededIsShown); @Override String getQuestionTypeName(); @Override int hashCode(); @Override boolean equals(Object obj); MultipleChoiceAnswer initialAnswer(); }
MultipleChoiceQuestion extends AbstractQuestion { public int numberOfCorrectOptions() { int count = countCorrectOptions(options); return count; } MultipleChoiceQuestion(String questionText, String explanationText, List<Option> options,
            boolean shufflable, boolean singleOptionMode); List<Option> getOptions(); int numberOfCorrectOptions(); static int countCorrectOptions(List<Option> localOptions); int numberOfOptions(); boolean isShufflable(); boolean isSingleOptionMode(); boolean isCorrect(Answer generalAnswer); boolean isAnswered(Answer generalAnswer, boolean numberOfOptionsNeededIsShown); @Override String getQuestionTypeName(); @Override int hashCode(); @Override boolean equals(Object obj); MultipleChoiceAnswer initialAnswer();  }