public function testDefaultValue()
 {
     $builder = new FieldsBuilder('fields');
     $builder->addField('name', 'text')->setDefaultValue('John Smith');
     $expectedConfig = ['fields' => [['name' => 'name', 'default_value' => 'John Smith']]];
     $this->assertArraySubset($expectedConfig, $builder->build());
 }