helmer/symfony — comment on commit fe8f9728ec42fbe8c90308a078e79f51c44d2ea0
File: tests/Symfony/Tests/Component/Form/AbstractLayoutTest.php line 1264
By bschussek:

This test is in the wrong location. The above functionality was added in `FieldType` and should be tested in `FieldTypeTest`.

Apart from that, you need to test several cases:

* A read only field with a not read only parent is read only
* A not read only field with a read only parent is read only
* A not read only field with a not read only parent is not read only