public function testIfTwoParametersWithTheSameKeyAreAddedThenTheNewerOneWillBeDiscarded()
{
$bag = (new ParameterBag(['foo' => 'bar', 'ping' => 'pong']))->with(new Parameter('ping', 'boo'))->with(new Parameter('he', 'ho'));
$this->assertEquals('bar', $bag->get('foo'));
$this->assertEquals('pong', $bag->get('ping'));
$this->assertEquals('ho', $bag->get('he'));
$this->assertBagSize(3, $bag);
}