public decimal TestCalculateTotalBet() { var user = new UserGameKey(-1, 104); var requestContext = new RequestContext <SpinArgs>("unittest", "God of Fortune", PlatformType.None) { GameSetting = new GameSetting { GameSettingGroupId = 1 }, Query = new QueryCollection { }, }; var userSession = new UserSession { SessionKey = "unittest" }; var spinArgs = new SpinArgs { LineBet = 1, Multiplier = 1 }; requestContext.Parameters = spinArgs; requestContext.UserSession = userSession; return(module.CalculateTotalBet(new UserGameSpinData(), requestContext)); }