/** * @dataProvider groupWithKeyProvider * @covers ::groupWithKey */ public function test_groupWithKey(testSubject $subject, $hof, $expected) { self::assertEquals($expected, $subject->groupWithKey($hof), 'applied to the key values given by the hof, should be a nested sequence of expected Seq'); }