public function testIsCountable() { $bag = new ParameterBag(); $this->assertEquals(0, count($bag)); $bag = $bag->with(new Parameter('foo', 'bar'))->with(new Parameter('ping', 'pong')); $this->assertEquals(2, count($bag)); }