Example #1
0
 public void GetSatusSessionTest()
 {
     var session = FakeContext.FakeHttpContext(
         new Dictionary<string, object> {
             { "boardStatus", 3 },
             { "boardMoves", new List<int> { 0, 1, 0, 0, 2, 0, 0, 2, 0} }
         }, "http://localhost:65516/api/").Session;
     BoardService servise = new BoardService(session);
     Assert.AreEqual(3, servise.GetSatusSession());
 }