/** * @dataProvider casesForCompare */ public function testChainedCompare($a, $b, $expected) { $container = new Container($a); $actual = $container->compare($b)->value(); $this->assertSame($expected, $actual); }