public static CreateTableCommand CreateTableCommand() { return(new CreateTableCommand() { Params = TableParamsMock.ParamsOne() }); }
public static TupleTable TableOne() { return(new TupleTable() { IdTable = 42, NbPlayers = 3, PossibleAction = LobbyActionEnum.Join, Params = TableParamsMock.ParamsOne() }); }
public static JoinTableResponse JoinTableResponse() { var response = JoinTableCommand().ResponseSuccess(); response.Params = TableParamsMock.ParamsOne(); //response.TotalPotAmount = 126; //response.PotsAmount = new List<int>() { 5, 10, 15, 20 }; //response.BoardCards = new[] { "2s", "5h", "Jd", "Ac" }; response.Seats = SeatInfoMock.AllSeats(); response.GameHasStarted = true; return(response); }