/** * @dataProvider partitionWithKeyProvider * @covers ::partitionWithKey */ public function test_partitionWithKey(testSubject $subject, $hof, $expected) { self::assertEquals($expected, $subject->partitionWithKey($hof), 'should separate as expected the results of the $hof based on its Seq("false"=>Seq([key, value]),"true"=>Seq([key, value])) value'); }