StandardCheatModel implements CheatModel { @Override public String getCorrectAnswer() { return correctAnswer; } StandardCheatModel(String correctAnswer); @Override String getCorrectAnswer(); @Override void setAnswerShown(boolean answerShown); boolean isAnswerShown(); void whenAnswerShownChanged(EventListener listener);  }
@Test public void getCorrectAnswer_returnsTheAnswerGivenInConstructor_whenCalled() { StandardCheatModel model = new StandardCheatModel("True"); String res = model.getCorrectAnswer(); assertEquals("True", res); }