Class GameEngineTest.TestStartGame.TestStartGame_WhenStartedIncorrectly

java.lang.Object
com.takenoko.engine.GameEngineTest.TestStartGame.TestStartGame_WhenStartedIncorrectly
Enclosing class:
GameEngineTest.TestStartGame

@Nested @DisplayName("Exceptions when started at the wrong time") class GameEngineTest.TestStartGame.TestStartGame_WhenStartedIncorrectly extends Object
  • Constructor Details

    • TestStartGame_WhenStartedIncorrectly

      TestStartGame_WhenStartedIncorrectly()
  • Method Details

    • startGame_shouldThrowExceptionWhenGameStateIsInitialized

      @Test @DisplayName("should throw an exception when the game state is INITIALIZED") void startGame_shouldThrowExceptionWhenGameStateIsInitialized()
    • startGame_shouldThrowExceptionWhenGameStateIsPlaying

      @Test @DisplayName("should throw an exception when the game state is PLAYING") void startGame_shouldThrowExceptionWhenGameStateIsPlaying()
    • startGame_shouldThrowExceptionWhenGameStateIsFinished

      @Test @DisplayName("should throw an exception when the game state is FINISHED") void startGame_shouldThrowExceptionWhenGameStateIsFinished()