unset() on ArrayObject is supposed to raise a notice if undefined key is passed

PHP throws a notice when trying to unset() or offsetUnset() key which aren't defined

I'm not sure if this is the right approach to get the appropriate error