public void testUserSaveNewQuestion() {
    screen.fillQuestionAndAnswer("foo", "bar");
    screen.selectSaveMenuItem();

    Question questionFromDb = dataService.findQuestionById(dataService.findAllQuestionIds().get(0));
    assertEquals("foo", questionFromDb.getValue());
    assertEquals("bar", questionFromDb.getAnswer());
  }
  public void testUserClicksOnSaveAndNew() {
    screen.fillQuestionAndAnswer("foo", "bar");
    screen.selectSaveAndNewMenuItem();

    Question questionFromDb = dataService.findQuestionById(dataService.findAllQuestionIds().get(0));
    assertEquals("foo", questionFromDb.getValue());
    assertEquals("", screen.getValueText());
    assertEquals("", screen.getAnswerText());

    screen.fillQuestionAndAnswer("foo2", "bar2");
    screen.selectSaveAndNewMenuItem();
    assertEquals(2, dataService.findAllQuestionIds().size());
  }