@@ -0,0 +1,1122 @@
+package com.elgassia.bridge.Model;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class StartNewGameTest extends TestCase %7B%0A    public void testReadyOnUserLobbyModels() throws Exception %7B%0A        TeamModel teamModel = new TeamModel();%0A%0A        assertEquals(%22Starting with Lobby state%22, 'L', teamModel.getState());%0A%0A        UserTeamModel userTeamModel0 = new UserTeamModel(0, teamModel);%0A        UserTeamModel userTeamModel1 = new UserTeamModel(1, teamModel);%0A        UserTeamModel userTeamModel2 = new UserTeamModel(2, teamModel);%0A        UserTeamModel userTeamModel3 = new UserTeamModel(3, teamModel);%0A%0A        userTeamModel0.getUserLobbyModel().randomTeam();%0A        userTeamModel1.getUserLobbyModel().randomTeam();%0A        userTeamModel2.getUserLobbyModel().randomTeam();%0A        userTeamModel3.getUserLobbyModel().randomTeam();%0A%0A        userTeamModel0.getUserLobbyModel().ready();%0A        userTeamModel1.getUserLobbyModel().ready();%0A        userTeamModel2.getUserLobbyModel().ready();%0A        userTeamModel3.getUserLobbyModel().ready();%0A%0A        assertEquals(%22Ending with Bidding state%22, 'B', teamModel.getState());%0A    %7D%0A%7D

test starting new game