示例#1
0
        public void IsNextLinkReturnsTrueForNextLink(
            Uri href)
        {
            bool actual = AtomLink.CreateNextLink(href).IsNextLink;

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

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

            Assert.Equal(expected, actual);
        }