Beispiel #1
0
 /**
  * @dataProvider casesForLast
  */
 public function testChainedLast($collection, $expected)
 {
     $container = new Container($collection);
     $actual = $container->last()->value();
     $this->assertEquals($expected, $actual);
 }