/** * @dataProvider casesForEvery */ public function testChainedEvery($collection, $predicate, $expected) { $container = new Container($collection); $actual = $container->every($predicate)->value(); $this->assertEquals($expected, $actual); }