public function testUnset() { // like object $data = new Data($this->_test); is('qwerty', $data->get('string')); unset($data->string); isFalse($data->has('string')); // like array $data = new Data($this->_test); is('qwerty', $data['string']); unset($data['string']); isFalse($data->has('string')); }