PHP Class Jyxo\Spl\CountableLimitIteratorTest

See also: Jyxo\Spl\Object
Author: Jakub Tománek
Author: Ondřej Nešpor
Inheritance: extends PHPUnit_Framework_TestCase
Mostrar archivo Open project: jyxo/php

Public Methods

Method Description
testInvalidIterator ( ) Tests creating an instance with an invalid \Iterator.
testLimit ( ) Tests use of limit.
testLimitCount ( ) Tests return count - real value.
testOutOfBounds ( ) Tests the count() method when the limit is out of the inner \Iterator.
testPassCount ( ) Tests return count.

Method Details

testInvalidIterator() public method

Tests creating an instance with an invalid \Iterator.
public testInvalidIterator ( )

testLimit() public method

Tests use of limit.
public testLimit ( )

testLimitCount() public method

Tests return count - real value.
public testLimitCount ( )

testOutOfBounds() public method

Tests the count() method when the limit is out of the inner \Iterator.
public testOutOfBounds ( )

testPassCount() public method

Tests return count.
public testPassCount ( )