### Question:
ParquetSchemaConverter { public static TypeInformation<?> fromParquetType(MessageType type) { return convertFields(type.getFields()); }  static TypeInformation<?> fromParquetType(MessageType type); static MessageType toParquetType(TypeInformation<?> typeInformation, boolean legacyMode); static final String MAP_VALUE; static final String LIST_ARRAY_TYPE; static final String LIST_ELEMENT; static final String LIST_GROUP_NAME; static final String MESSAGE_ROOT; }### Answer:
@Test public void testSimpleSchemaConversion() { MessageType simpleType = new MessageType("simple", simpleStandardTypes); RowTypeInfo rowTypeInfo = (RowTypeInfo) ParquetSchemaConverter.fromParquetType(simpleType); assertEquals(SIMPLE_ROW_TYPE, rowTypeInfo); }
@Test public void testNestedSchemaConversion() { MessageType nestedTypes = new MessageType("nested", this.nestedTypes); RowTypeInfo rowTypeInfo = (RowTypeInfo) ParquetSchemaConverter.fromParquetType(nestedTypes); assertEquals(NESTED_ROW_TYPE, rowTypeInfo); }