public void CheckCurrentStatusTest_XWin() { var session = FakeContext.FakeHttpContext( new Dictionary<string, object> { { "boardStatus", 0 }, { "boardMoves", new List<int> { 0, 1, 0, 0, 1, 0, 0, 1, 0} } }, "http://localhost:65516/api/").Session; BoardService servise = new BoardService(session); Assert.AreEqual((int)Statuses.XWin, servise.CheckCurrentStatus()); }