Inheritance: IPagedCollectionTester
Exemplo n.º 1
0
        public void GetPagedKeywordsHandlesPagingProperly(int total, int pageSize, int expectedPageCount,
                                                          int itemsCountOnLastPage)
        {
            Config.CreateBlog("", "username", "password", _hostName, "blog");
            BlogRequest.Current.Blog = Config.GetBlog(_hostName, "blog");
            var tester = new KeyWordCollectionTester();

            AssertPagedCollection(tester, expectedPageCount, itemsCountOnLastPage, pageSize, total);
        }
 public void GetPagedKeywordsHandlesPagingProperly(int total, int pageSize, int expectedPageCount, int itemsCountOnLastPage)
 {
     Assert.IsTrue(Config.CreateBlog("", "username", "password", this.hostName, "blog"));
     IPagedCollectionTester tester = new KeyWordCollectionTester();
     AssertPagedCollection(tester, expectedPageCount, itemsCountOnLastPage, pageSize, total);
 }