public function testSerializationDeserialization()
{
$obj = new TemplateSettings(self::getJson());
$this->assertNotNull($obj);
$this->assertNotNull($obj->getFieldName());
$this->assertNotNull($obj->getDisplayPreference());
$this->assertEquals(self::getJson(), $obj->toJson());
return $obj;
}