/**
* @dataProvider theImplementations
*/
public function testThatExecutionIsDeferred(\Pinq\ITraversable $traversable, array $data)
{
$this->assertThatExecutionIsDeferred(function (callable $function) use($traversable) {
return $traversable->join([])->on($function)->to($function);
});
$this->assertThatExecutionIsDeferred(function (callable $function) use($traversable) {
return $traversable->join([])->onEquality($function, $function)->to($function);
});
}