Ejemplo n.º 1
0
 /**
  * @dataProvider indexOfProvider
  * @covers ::indexOf
  */
 public function test_indexOf(testSubject $haystack, $needle, $expected)
 {
     self::assertEquals($expected, $haystack->indexOf($needle), 'should yield the expected results for $needle in $haystack');
 }