public function testGetSchemaData()
 {
     $field = new FormField('MyField');
     $schema = $field->getSchemaData();
     $this->assertEquals('MyField', $schema['name']);
     // Make sure the schema data is up-to-date with object properties.
     $field->setName('UpdatedField');
     $schema = $field->getSchemaData();
     $this->assertEquals($field->getName(), $schema['name']);
 }