public void testGoodAnswerGameToBeWonAtLastAttempt() {
    System.out.println("Test 3 : gameToBeWonAtLastAttempt");
    Game gameToBeWonAtLastAttempt = new Game(new GameMaster(
        DefaultValues.DEFAULTATTEMPTCOMBINATION1), new Board());

    Answer answer;
    // 1. Wrong combinations input. Number : Board size - 1.
    for (int i = 0; i < Board.SIZE - 1; i++) {
      answer = gameToBeWonAtLastAttempt
          .giveAnswer(DefaultValues.DEFAULTATTEMPTCOMBINATION2);
      assertEquals(true, answer.more_attempts);
      assertEquals(false, answer.target_found);
    }

    // 2. Right combination input.
    answer = gameToBeWonAtLastAttempt
        .giveAnswer(DefaultValues.DEFAULTATTEMPTCOMBINATION1);
    assertEquals(false, answer.more_attempts);
    assertEquals(true, answer.target_found);
    assertEquals(Board.SIZE, answer.remaining_attempts);

    // 3. Another combination attempt (a wrong one).
    answer = gameToBeWonAtLastAttempt
        .giveAnswer(DefaultValues.DEFAULTATTEMPTCOMBINATION2);
    assertEquals(false, answer.more_attempts);
    assertEquals(true, answer.target_found);
    assertEquals(Board.SIZE, answer.remaining_attempts);

    // 4. Another combination attempt the right one).
    answer = gameToBeWonAtLastAttempt
        .giveAnswer(DefaultValues.DEFAULTATTEMPTCOMBINATION1);
    assertEquals(false, answer.more_attempts);
    assertEquals(true, answer.target_found);
    assertEquals(Board.SIZE, answer.remaining_attempts);

  }