public function testThatApplyJoinOperatesOnOriginalCollection(\Pinq\ICollection $collection, array $data)
{
$collection->join([2, 3])->apply(function (&$outer, $inner) {
$outer *= $inner;
});
$this->assertMatchesValues($collection, [1 * 2 * 3, 2 * 2 * 3, 3 * 2 * 3, 4 * 2 * 3, 5 * 2 * 3, 6 * 2 * 3, 7 * 2 * 3, 8 * 2 * 3, 9 * 2 * 3, 10 * 2 * 3]);
}