Class SingleBotStatisticsTest.TestUpdateActions

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

@Nested @DisplayName("Test Update Actions") class SingleBotStatisticsTest.TestUpdateActions extends Object
  • Constructor Details

    • TestUpdateActions

      TestUpdateActions()
  • Method Details

    • whenTheUpdatedActionIsOfNewtype_shouldAddNewEntry

      @Test @DisplayName("when the updated action is of new type, should add new entry") void whenTheUpdatedActionIsOfNewtype_shouldAddNewEntry()
    • whenTheUpdatedActionIsntOfNewType_shouldntAddNewEntry

      @Test @DisplayName("when the updated action isn\'t of new type, shouldn\'t add new entry") void whenTheUpdatedActionIsntOfNewType_shouldntAddNewEntry()
    • shouldIncrementNumberOfActionsForTheRightType

      @Test @DisplayName("should increment number of actions for the right type") void shouldIncrementNumberOfActionsForTheRightType()
    • totalNbOfActions_shouldBeIncremented

      @Test @DisplayName("total number of actions should be incremented") void totalNbOfActions_shouldBeIncremented()
    • ifParameterIsNull_shouldThrowException

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