From 7bc95fbbcae34d8e1a58c96880394b677d598e2a Mon Sep 17 00:00:00 2001 From: jbion Date: Sat, 24 Dec 2016 10:28:26 +0100 Subject: Add test for lobby --- src/main/java/org/luxons/sevenwonders/game/Lobby.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main/java/org/luxons/sevenwonders') 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); } -- cgit