Class SingleBotStatisticsTest.TestUpdateWeathersRolled

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

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

    • TestUpdateWeathersRolled

      TestUpdateWeathersRolled()
  • Method Details

    • whenTheRolledWeatherIsOfNewtype_shouldAddNewEntry

      @Test @DisplayName("when a weather of new type is rolled, should add new entry") void whenTheRolledWeatherIsOfNewtype_shouldAddNewEntry()
    • whenTheRolledWeatherIsntOfNewType_shouldntAddNewEntry

      @Test @DisplayName("when the rolled weather isn\'t of new type, shouldn\'t add new entry") void whenTheRolledWeatherIsntOfNewType_shouldntAddNewEntry()
    • shouldIncrementNumberOfRolledWeathersForTheRightType

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

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