Ejemplo n.º 1
0
        public void ShouldGetEntityRight()
        {
            var e = new Entity()
            {
                Id = 800, Right = right
            };
            var controller = new DiffController();

            controller.PostRight(e.Id, e);
            var res = controller.GetRight(e.Id).Value;

            Assert.AreEqual(e.Right, res);
        }