Package com.takenoko.engine
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
(package private) void
(package private) void
-
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()
-