/** * @dataProvider casesForIdentity */ public function testChainedIdentity($value, $expected) { $container = new Container($value); $actual = $container->identity()->value(); $this->assertSame($expected, $actual); }