public void FindTest()
        {
            var actual = new PlayerDto
            {
                Id            = will.Id,
                AspNetUser_Id = will.AspNetUser_Id,
                Name          = will.Name
            };
            var actualBG = new List <BoardGame>();

            actualBG.Add(gloomHaven);

            actual.PlayersGames = actualBG;

            var LikenessBg   = actual.AsSource().OfLikeness <PlayerDto>();
            var SteralizedBG = new Likeness <PlayerDto, object>(actual);
            var results      = p.Find(3) as JsonResult;

            Assert.AreEqual(SteralizedBG, results.Data);
        }
        public void SelfTest()
        {
            var actual = new PlayerDto
            {
                Id            = 1,
                AspNetUser_Id = "eb218371-e5aa-4b18-9975-5197d242f130",
                Name          = "Peter Jensen"
            };
            var actualBG = new List <BoardGame>();

            actualBG.Add(catan);
            actualBG.Add(bloodrage);

            actual.PlayersGames = actualBG;

            var LikenessBg   = actual.AsSource().OfLikeness <PlayerDto>();
            var SteralizedBG = new Likeness <PlayerDto, object>(actual);
            var results      = p.Self() as JsonResult;

            Assert.AreEqual(SteralizedBG, results.Data);
        }