@@ -0,0 +1,1530 @@
+package com.elgassia.bridge.Model;%0A%0Aimport com.elgassia.bridge.exception.BridgeLogicException;%0Aimport junit.framework.TestCase;%0A%0Apublic class LobbyTest extends TestCase %7B%0A    TeamModel teamModel;%0A    UserTeamModel userTeamModel0;%0A    UserTeamModel userTeamModel1;%0A    UserTeamModel userTeamModel2;%0A    UserTeamModel userTeamModel3;%0A%0A    @Override%0A    protected void setUp() throws Exception %7B%0A        teamModel = new TeamModel();%0A%0A        userTeamModel0 = new UserTeamModel(0, teamModel);%0A        userTeamModel1 = new UserTeamModel(1, teamModel);%0A        userTeamModel2 = new UserTeamModel(2, teamModel);%0A        userTeamModel3 = new UserTeamModel(3, teamModel);%0A    %7D%0A%0A    public void testSetTeamRange () throws BridgeLogicException %7B%0A        userTeamModel0.getUserLobbyModel().setTeam(0);%0A        userTeamModel0.getUserLobbyModel().setTeam(1);%0A%0A        boolean exception;%0A%0A        exception = false;%0A        try %7B%0A            userTeamModel0.getUserLobbyModel().setTeam(-1);%0A        %7D catch (BridgeLogicException e) %7B%0A            exception = true;%0A        %7D%0A        assertTrue(exception);%0A%0A        exception = false;%0A        try %7B%0A            userTeamModel0.getUserLobbyModel().setTeam(2);%0A        %7D catch (BridgeLogicException e) %7B%0A            exception = true;%0A        %7D%0A        assertTrue(exception);%0A%0A        exception = false;%0A        try %7B%0A            userTeamModel0.getUserLobbyModel().setTeam(123);%0A        %7D catch (BridgeLogicException e) %7B%0A            exception = true;%0A        %7D%0A        assertTrue(exception);%0A    %7D%0A%7D%0A

add Lobby Test