public static RowCoder of(Schema schema) {
    return new RowCoder(schema);
  }
@Test
  public void testNestedLogicalTypes() throws Exception {
    EnumerationType enumeration = EnumerationType.create("one", "two", "three");
    Schema schema =
        Schema.builder()
            .addLogicalTypeField("f_nested_logical_type", new NestedLogicalType(enumeration))
            .build();
    Row row = Row.withSchema(schema).addValue("two").build();

    CoderProperties.coderDecodeEncodeEqual(RowCoder.of(schema), row);
  }