コード例 #1
0
ファイル: intersectionTest.php プロジェクト: mpetrovich/dash
 /**
  * @dataProvider casesForIntersection
  */
 public function testChainedIntersection($collections, $expected)
 {
     list($collection1, $collection2, $collection3) = $collections;
     $container = new Container($collection1);
     $actual = $container->intersection($collection2, $collection3)->value();
     $this->assertEquals($expected, $actual);
 }