JPaginationTest::testConstructor
This method tests the constructor.
This is a basic data driven test. It takes the data passed, runs the constructor and make sure the appropriate values get setup.
Signature
public function testConstructor(integer
$total,
integer
$limitstart,
integer
$limit,
array
$expected )
Parameters
-
$total
- The total number of items.
-
$limitstart
- The offset of the item to start at.
-
$limit
- The number of items to display per page.
-
$expected
- The expected results for the JPagination object
Returns
- void