public void Constructer_WithLinks()
        {
            var obj = new AResource
            {
                Links = new List<HalLink> { new HalLink("self", "/path/2") },
                Property1 = "Test"
            };

            TestHalResourceLink(obj, obj.Links[0].Href);
        }
예제 #2
0
        public void Constructer_WithLinks()
        {
            var obj = new AResource
            {
                Links = new List <HalLink> {
                    new HalLink("self", "/path/2")
                },
                Property1 = "Test"
            };

            TestHalResourceLink(obj, obj.Links[0].Href);
        }