/** * @dataProvider invalidKeysProvider */ public function testInvalidKeyUnset($key) { $this->setExpectedException('InvalidArgumentException'); $this->collection->offsetUnset($key); }
/** * @dataProvider invalidKeysProvider */ public function testInvalidKeyUnset($key) { $this->setExpectedException('InvalidArgumentException'); $this->collection->offsetUnset($key); }