public JsonSerializerTests() { serializerSettings.TypeNameHandling = TypeNameHandling.Auto; serializerSettings.SerializationBinder = new TypeNameSerializationBinder(typeNameRegistry); sut = new SchemaJsonSerializer(new FieldRegistry(typeNameRegistry), serializerSettings); }