PHP Class Pinq\Tests\Integration\Collection\RemoveWhereTest

Inheritance: extends CollectionTest
Datei anzeigen Open project: timetoogo/pinq

Public Methods

Method Description
testThatExecutionIsNotDeferred ( Pinq\ICollection $collection, array $data )
testThatRemoveWhereFalseRemovesNoItems ( Pinq\ICollection $collection, array $data )
testThatRemoveWhereRemovesItemsWhereTheFunctionReturnsTrueAndPreservesKeys ( Pinq\ICollection $numbers, array $data )
testThatRemoveWhereTrueRemovesAllItems ( Pinq\ICollection $collection, array $data )

Method Details

testThatExecutionIsNotDeferred() public method

public testThatExecutionIsNotDeferred ( Pinq\ICollection $collection, array $data )
$collection Pinq\ICollection
$data array

testThatRemoveWhereFalseRemovesNoItems() public method

public testThatRemoveWhereFalseRemovesNoItems ( Pinq\ICollection $collection, array $data )
$collection Pinq\ICollection
$data array

testThatRemoveWhereRemovesItemsWhereTheFunctionReturnsTrueAndPreservesKeys() public method

public testThatRemoveWhereRemovesItemsWhereTheFunctionReturnsTrueAndPreservesKeys ( Pinq\ICollection $numbers, array $data )
$numbers Pinq\ICollection
$data array

testThatRemoveWhereTrueRemovesAllItems() public method

public testThatRemoveWhereTrueRemovesAllItems ( Pinq\ICollection $collection, array $data )
$collection Pinq\ICollection
$data array