Ejemplo n.º 1
0
        public void IsNextLinkReturnsTrueForNextLink(
            Uri href)
        {
            bool actual = AtomLink.CreateNextLink(href).IsNextLink;

            Assert.True(actual, "Should be next link.");
        }
Ejemplo n.º 2
0
        public void CreateNextLinkReturnsCorrectResult(
            AtomLink link)
        {
            AtomLink actual = AtomLink.CreateNextLink(link.Href);

            var expected = link.WithRel("next");

            Assert.Equal(expected, actual);
        }