Ejemplo n.º 1
0
        public void Setup()
        {
            var kernel = new StandardKernel(new TestDIModule());

            wordService = kernel.Get <WordService>();
            wordService.ClearState();
            wordService.AddWord(existWord);
            var service = wordService.GetUserService();

            service.SetPlayers(new List <string>()
            {
                "player1", "player2"
            }, testGameId);
            service.SetCurrentUser("player1", testGameId);
        }