public function testJoinOnEqualityProducesCorrectResult(\Pinq\ITraversable $traversable, array $data)
{
$traversable = $traversable->join([1, 2, 3, '4', '5'])->onEquality(function ($outer) {
return $outer;
}, function ($inner) {
return $inner;
})->to(function ($outer, $inner) {
return $outer . '-' . $inner;
});
$this->assertMatchesValues($traversable, ['1-1', '2-2', '3-3']);
}