public static Schema toBeamSchema(Class<?> clazz) {
    ReflectData data = new ReflectData(clazz.getClassLoader());
    return toBeamSchema(data.getSchema(clazz));
  }
@Test
  public void testFromAvroSchema() {
    assertEquals(getBeamSchema(), AvroUtils.toBeamSchema(getAvroSchema()));
  }