示例#1
0
 /**
  * @dataProvider getTestCases
  */
 public function testWith($value)
 {
     $container = new Container();
     $return = $container->with($value);
     $this->assertEquals($value, $container->value());
     $this->assertSame($container, $return);
 }