diff options
author | jbion <joffrey.bion@amadeus.com> | 2016-12-24 10:28:26 +0100 |
---|---|---|
committer | jbion <joffrey.bion@amadeus.com> | 2016-12-24 13:55:11 +0100 |
commit | 7bc95fbbcae34d8e1a58c96880394b677d598e2a (patch) | |
tree | 692497a9560eb3cf58cfc5b2372f11419d1e5276 /src/main/java/org/luxons | |
parent | Add react-router-redux (diff) | |
download | seven-wonders-7bc95fbbcae34d8e1a58c96880394b677d598e2a.tar.gz seven-wonders-7bc95fbbcae34d8e1a58c96880394b677d598e2a.tar.bz2 seven-wonders-7bc95fbbcae34d8e1a58c96880394b677d598e2a.zip |
Add test for lobby
Diffstat (limited to 'src/main/java/org/luxons')
-rw-r--r-- | src/main/java/org/luxons/sevenwonders/game/Lobby.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/org/luxons/sevenwonders/game/Lobby.java b/src/main/java/org/luxons/sevenwonders/game/Lobby.java index 35f72f0f..b205f269 100644 --- a/src/main/java/org/luxons/sevenwonders/game/Lobby.java +++ b/src/main/java/org/luxons/sevenwonders/game/Lobby.java @@ -90,16 +90,16 @@ public class Lobby { return players.stream().anyMatch(p -> p.getUserName().equals(userName)); } - private static class GameAlreadyStartedException extends IllegalStateException { + static class GameAlreadyStartedException extends IllegalStateException { } - private static class PlayerOverflowException extends IllegalStateException { + static class PlayerOverflowException extends IllegalStateException { } - private static class PlayerUnderflowException extends IllegalStateException { + static class PlayerUnderflowException extends IllegalStateException { } - private static class PlayerNameAlreadyUsedException extends UniqueIdAlreadyUsedException { + static class PlayerNameAlreadyUsedException extends UniqueIdAlreadyUsedException { PlayerNameAlreadyUsedException(String name) { super(name); } |