public function testRemove() { $data = ['abc' => '123', 'foo' => 'bar']; $this->property->setValue($this->bag, $data); $this->bag->remove('foo'); $this->assertEquals(['abc' => '123'], $this->property->getValue($this->bag)); }
/** * Remove header from collection * * @param string $key The case-insensitive header name */ public function remove($key) { parent::remove($this->normalizeKey($key)); }