Class BoardStatisticsTest.TestUpdateObjectivesRedeemed

java.lang.Object
com.takenoko.engine.BoardStatisticsTest.TestUpdateObjectivesRedeemed
Enclosing class:
BoardStatisticsTest

@Nested @DisplayName("Test Update Improvements") class BoardStatisticsTest.TestUpdateObjectivesRedeemed extends Object
  • Constructor Details

    • TestUpdateObjectivesRedeemed

      TestUpdateObjectivesRedeemed()
  • Method Details

    • whenTheUpdatedImprovementIsNew_shouldAddNewEntry

      @Test @DisplayName("when the improvement is of new type, should add new entry") void whenTheUpdatedImprovementIsNew_shouldAddNewEntry()
    • whenTheUpdatedImprovementIsntNew_shouldntAddNewEntry

      @Test @DisplayName("when the improvement isn\'t of new type, shouldn\'t add new entry") void whenTheUpdatedImprovementIsntNew_shouldntAddNewEntry()
    • shouldIncrementNumberOfImprovementForTheRightType

      @Test @DisplayName("should increment number of improvements for the right type") void shouldIncrementNumberOfImprovementForTheRightType()
    • ifParameterIsNull_shouldThrowException

      @Test @DisplayName("if parameter is null, should throw exception") void ifParameterIsNull_shouldThrowException()