Exemple #1
0
 /**
  * @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);
 }