### Question:
Schema extends JsonProperties implements Serializable { @Override public String toString() { return toString(false); } Schema(Type type); static Schema create(Type type); @Override void addProp(String name, String value); @Override void addProp(String name, Object value); LogicalType getLogicalType(); @Deprecated static Schema createRecord(List<Field> fields); static Schema createRecord(String name, String doc, String namespace, boolean isError); static Schema createRecord(String name, String doc, String namespace, boolean isError, List<Field> fields); static Schema createEnum(String name, String doc, String namespace, List<String> values); static Schema createEnum(String name, String doc, String namespace, List<String> values, String enumDefault); static Schema createArray(Schema elementType); static Schema createMap(Schema valueType); static Schema createUnion(List<Schema> types); static Schema createUnion(Schema... types); static Schema createFixed(String name, String doc, String space, int size); Type getType(); Field getField(String fieldname); List<Field> getFields(); void setFields(List<Field> fields); List<String> getEnumSymbols(); String getEnumDefault(); int getEnumOrdinal(String symbol); boolean hasEnumSymbol(String symbol); String getName(); String getDoc(); String getNamespace(); String getFullName(); void addAlias(String alias); void addAlias(String alias, String space); Set<String> getAliases(); boolean isError(); Schema getElementType(); Schema getValueType(); List<Schema> getTypes(); Integer getIndexNamed(String name); int getFixedSize(); @Override String toString(); String toString(boolean pretty); @Deprecated String toString(Collection<Schema> referencedSchemas, boolean pretty); @Override boolean equals(Object o); @Override final int hashCode(); boolean isUnion(); boolean isNullable(); @Deprecated static Schema parse(File file); @Deprecated static Schema parse(InputStream in); @Deprecated static Schema parse(String jsonSchema); @Deprecated static Schema parse(String jsonSchema, boolean validate); static Object parseJsonToObject(String s); static Schema applyAliases(Schema writer, Schema reader);  }### Answer:
@Test public void testEmptyRecordSchema() { Schema schema = createDefaultRecord(); String schemaString = schema.toString(); assertNotNull(schemaString); }