示例#1
0
 /**
  * @dataProvider casesForFindKey
  */
 public function testChainedFindKey($collection, $predicate, $expected)
 {
     $container = new Container($collection);
     $actual = $container->findKey($predicate)->value();
     $this->assertEquals($expected, $actual);
 }