Pinq\Tests\Integration\Traversable\IntersectTest::testThatIntersectWithEmptyReturnsEmpty PHP Метод

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

public testThatIntersectWithEmptyReturnsEmpty ( Pinq\ITraversable $traversable, array $data )
$traversable Pinq\ITraversable
$data array
    public function testThatIntersectWithEmptyReturnsEmpty(\Pinq\ITraversable $traversable, array $data)
    {
        $intersection = $traversable->intersect(new \Pinq\Traversable());
        $this->assertMatches($intersection, []);
    }