Pinq\Tests\Integration\Traversable\UnionTest::testThatUnionWithEmptyReturnsUniqueReindexedValues PHP Метод

testThatUnionWithEmptyReturnsUniqueReindexedValues() публичный Метод

public testThatUnionWithEmptyReturnsUniqueReindexedValues ( Pinq\ITraversable $traversable, array $data )
$traversable Pinq\ITraversable
$data array
    public function testThatUnionWithEmptyReturnsUniqueReindexedValues(\Pinq\ITraversable $traversable, array $data)
    {
        $unioned = $traversable->union([]);
        $this->assertMatches($unioned, array_values(array_unique($data)));
    }