PHP Class Pinq\Tests\Integration\Traversable\GroupByTest

Inheritance: extends TraversableTest
Show file Open project: timetoogo/pinq

Public Methods

Method Description
names ( )
testCalledWithValueAndKeyParameters ( Pinq\ITraversable $traversable, array $data )
testThatExecutionIsDeferred ( Pinq\ITraversable $traversable, array $data )
testThatGroupByElementReturnsCorrectTraversableType ( Pinq\ITraversable $traversable, array $data )
testThatGroupByGroupsTheElementsCorrectlyAndPreservesKeys ( Pinq\ITraversable $traversable, array $data )
testThatGroupByImplicitlyIndexesTheGroupsByTheirKey ( Pinq\ITraversable $traversable, array $data )
testThatGroupByMaintainsArrayReferences ( Pinq\ITraversable $traversable, array $data )
testThatGroupByMaintainsReferences ( Pinq\ITraversable $traversable, array $data )
testThatGroupByMultipleTest ( 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

names() public method

public names ( )

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

testThatGroupByElementReturnsCorrectTraversableType() public method

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

testThatGroupByGroupsTheElementsCorrectlyAndPreservesKeys() public method

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

testThatGroupByImplicitlyIndexesTheGroupsByTheirKey() public method

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

testThatGroupByMaintainsArrayReferences() public method

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

testThatGroupByMaintainsReferences() public method

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

testThatGroupByMultipleTest() public method

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