Class SingleBotStatisticsTest.TestUpdateWeathersApplied

java.lang.Object
com.takenoko.engine.SingleBotStatisticsTest.TestUpdateWeathersApplied
Enclosing class:
SingleBotStatisticsTest

@Nested @DisplayName("Test Update Weathers Applied") class SingleBotStatisticsTest.TestUpdateWeathersApplied extends Object
  • Constructor Details

    • TestUpdateWeathersApplied

      TestUpdateWeathersApplied()
  • Method Details

    • whenTheAppliedWeatherIsOfNewtype_shouldAddNewEntry

      @Test @DisplayName("when a weather of new type is applied, should add new entry") void whenTheAppliedWeatherIsOfNewtype_shouldAddNewEntry()
    • whenTheAppliedWeatherIsntOfNewType_shouldntAddNewEntry

      @Test @DisplayName("when the applied weather isn\'t of new type, shouldn\'t add new entry") void whenTheAppliedWeatherIsntOfNewType_shouldntAddNewEntry()
    • shouldIncrementNumberOfAppliedWeathersForTheRightType

      @Test @DisplayName("should increment number of weathers applied for the right color") void shouldIncrementNumberOfAppliedWeathersForTheRightType()
    • ifParameterIsNull_shouldThrowException

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