### Question:
NullRule extends AbstractSkatRule { @Override public int calcGameResult(final SkatGameData gameData) { int result = getGameValueForWonGame(gameData); if (gameData.isGameLost()) { result = result * -2; } return result; }  @Override int getGameValueForWonGame(final SkatGameData gameData); @Override int calcGameResult(final SkatGameData gameData); @Override boolean isCardBeatsCard(
			@SuppressWarnings("unused") final GameType gameType,
			final Card cardToBeat, final Card card); @Override boolean isCardAllowed(final GameType gameType,
			final Card initialCard, final CardList hand, final Card card); @Override boolean isGameWon(final SkatGameData gameData); @Override boolean hasSuit(final GameType gameType, final CardList hand,
			final Suit suit); @Override int getMultiplier(
			@SuppressWarnings("unused") final SkatGameData gameData); @Override boolean isPlayWithJacks(
			@SuppressWarnings("unused") final SkatGameData gameData);  }### Answer:
@Test public void calcGameResultGameLostHand() { factory.setHand(true); data.setAnnouncement(factory.getAnnouncement()); playWinningTricks(); playLoosingTrick(); data.calcResult(); assertThat(nullRules.calcGameResult(data)).isEqualTo(-70); }
@Test public void calcGameResultGameLostOuvert() { factory.setHand(false); factory.setOuvert(Boolean.TRUE); data.setAnnouncement(factory.getAnnouncement()); playWinningTricks(); playLoosingTrick(); data.calcResult(); assertThat(nullRules.calcGameResult(data)).isEqualTo(-92); }
@Test public void calcGameResultGameLostHandOuvert() { factory.setHand(true); factory.setOuvert(true); data.setAnnouncement(factory.getAnnouncement()); playWinningTricks(); playLoosingTrick(); data.calcResult(); assertThat(nullRules.calcGameResult(data)).isEqualTo(-118); }