public void Paged_IsValid_Method_OnTable() { IDynamicTable table = new DynamicTable("Users"); var query = table.Paged(pageSize: 20, currentPage: 1); Assert.IsNotNull(query); Assert.AreEqual(query.PageSize, 20); Assert.AreEqual(query.CurrentPage, 1); }
public void Paged_IsValid_Method_OnTable() { IDynamicTable table = new DynamicTable("Users"); var query = table.Paged(pageSize: 20, currentPage: 1); Assert.IsNotNull(query); Assert.AreEqual(query.PageSize, 20); Assert.AreEqual(query.CurrentPage, 1); }