public void ToStringTest() { var schema = new RegisteredSchema("test-key", 1, 42, "test-schema-string", SchemaType.Avro, new List <SchemaReference>()); Assert.Contains("test-key", schema.ToString()); Assert.Contains("1", schema.ToString()); Assert.Contains("42", schema.ToString()); }
public static SData ReadSchema(RegisteredSchema registeredSchema) { return new SParser().ReadSchemaFile(GetResourceStream(registeredSchema.ToString())); }
public static SData ReadSchema(RegisteredSchema registeredSchema) { return(new SParser().ReadSchemaFile(GetResourceStream(registeredSchema.ToString()))); }