PHP Class Phalcon\Tests\Paginator\PagerTest

Author: Nikita Vershinin ([email protected])
Inheritance: extends Codeception\TestCase\Test
Show file Open project: phalcon/incubator

Protected Properties

Property Type Description
$tester UnitTester UnitTester Object

Public Methods

Method Description
testCallingGetPagesInRangeMethodWithDefaultOptionsShouldReturnExpectedArray ( )
testCallingGetPagesInRangeMethodWithSliderOnEndShouldReturnExpectedArray ( )
testCallingGetPagesInRangeMethodWithSliderOnStartShouldReturnExpectedArray ( )
testCreatingPagerObjectWithoutOptionsShouldConstructObject ( )
testGetLayoutMethodShouldReturnObjectOfLayoutType ( )
testGetLayoutMethodShouldWithInvalidLayoutClassShouldThrowException ( )
testGetLayoutMethodShouldWithInvalidRangeClassShouldThrowException ( )
testGetLayoutMethodWithoutUrlMaskOptionShouldThrowException ( )
testPagerGetIteratorMethodWillCreateIteratorIfArrayIsPassed ( )
testPagerGetterMethodsShouldReturnExpectedValues ( )

Protected Methods

Method Description
_after ( ) executed after each test
_before ( ) executed before each test

Method Details

_after() protected method

executed after each test
protected _after ( )

_before() protected method

executed before each test
protected _before ( )

testCallingGetPagesInRangeMethodWithDefaultOptionsShouldReturnExpectedArray() public method

testCallingGetPagesInRangeMethodWithSliderOnEndShouldReturnExpectedArray() public method

testCallingGetPagesInRangeMethodWithSliderOnStartShouldReturnExpectedArray() public method

testCreatingPagerObjectWithoutOptionsShouldConstructObject() public method

testGetLayoutMethodShouldReturnObjectOfLayoutType() public method

testGetLayoutMethodShouldWithInvalidLayoutClassShouldThrowException() public method

testGetLayoutMethodShouldWithInvalidRangeClassShouldThrowException() public method

testGetLayoutMethodWithoutUrlMaskOptionShouldThrowException() public method

testPagerGetIteratorMethodWillCreateIteratorIfArrayIsPassed() public method

testPagerGetterMethodsShouldReturnExpectedValues() public method

Property Details

$tester protected property

UnitTester Object
protected UnitTester $tester
return UnitTester