1--TEST--
2SolrDocumentField - exception - on unset property
3--FILE--
4<?php
5
6require_once "bootstrap.inc";
7
8$field = new SolrDocumentField();
9
10try {
11	unset($field->name);
12} catch (SolrIllegalOperationException $e) {
13	printf("Exception %d: %s", $e->getCode(), $e->getMessage());
14}
15
16?>
17--EXPECT--
18Exception 1007: SolrDocumentField instances are read-only. Properties cannot be updated or removed.