public static RowCoder of(Schema schema) {
    return new RowCoder(schema);
  }
@Test
  public void testLogicalTypeInCollection() throws Exception {
    EnumerationType enumeration = EnumerationType.create("one", "two", "three");
    Schema schema =
        Schema.builder().addArrayField("f_enum_array", FieldType.logicalType(enumeration)).build();
    Row row =
        Row.withSchema(schema)
            .addArray(enumeration.valueOf("two"), enumeration.valueOf("three"))
            .build();

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