PHP Class Pinq\Tests\Integration\Traversable\IndexByTest

Inheritance: extends TraversableTest
显示文件 Open project: timetoogo/pinq

Public Methods

Method Description
testCalledWithValueAndKeyParameters ( Pinq\ITraversable $traversable, array $data )
testThatExecutionIsDeferred ( Pinq\ITraversable $traversable, array $data )
testThatIndexByDuplicateKeyWithForeachOnlyReturnsFirstAssociatedValue ( Pinq\ITraversable $traversable, array $data )
testThatIndexByElementIndexesCorrectly ( Pinq\ITraversable $traversable, array $data )
testThatIndexByMaintainsReferences ( Pinq\ITraversable $traversable )
testThatIndexByNullReturnsArrayWithFirstAssociatedValue ( Pinq\ITraversable $traversable, array $data )

Protected Methods

Method Description
_testReturnsNewInstanceOfSameTypeWithSameScheme ( Pinq\ITraversable $traversable )

Method Details

_testReturnsNewInstanceOfSameTypeWithSameScheme() protected method

protected _testReturnsNewInstanceOfSameTypeWithSameScheme ( Pinq\ITraversable $traversable )
$traversable Pinq\ITraversable

testCalledWithValueAndKeyParameters() public method

public testCalledWithValueAndKeyParameters ( Pinq\ITraversable $traversable, array $data )
$traversable Pinq\ITraversable
$data array

testThatExecutionIsDeferred() public method

public testThatExecutionIsDeferred ( Pinq\ITraversable $traversable, array $data )
$traversable Pinq\ITraversable
$data array

testThatIndexByDuplicateKeyWithForeachOnlyReturnsFirstAssociatedValue() public method

public testThatIndexByDuplicateKeyWithForeachOnlyReturnsFirstAssociatedValue ( Pinq\ITraversable $traversable, array $data )
$traversable Pinq\ITraversable
$data array

testThatIndexByElementIndexesCorrectly() public method

public testThatIndexByElementIndexesCorrectly ( Pinq\ITraversable $traversable, array $data )
$traversable Pinq\ITraversable
$data array

testThatIndexByMaintainsReferences() public method

public testThatIndexByMaintainsReferences ( Pinq\ITraversable $traversable )
$traversable Pinq\ITraversable

testThatIndexByNullReturnsArrayWithFirstAssociatedValue() public method

public testThatIndexByNullReturnsArrayWithFirstAssociatedValue ( Pinq\ITraversable $traversable, array $data )
$traversable Pinq\ITraversable
$data array