Ejemplo n.º 1
0
 /**
  * @dataProvider casesForSum
  */
 public function testChainedSum($collection, $expected)
 {
     $container = new Container($collection);
     $actual = $container->sum()->value();
     $this->assertEquals($expected, $actual);
 }