@Test
public void testEnumImplementation() {

  Schema enumSchema = SchemaBuilder.enumeration("MyEnum").namespace("test").symbols("A", "B", "C");
  try (GenericRecordBuilder builder = new GenericRecordBuilder(enumSchema)) {
    Class<? extends GenericEnumSymbol> enumClass = builder.getEnumClass(enumSchema);
    Assert.assertEquals("test.MyEnum", enumClass.getName());
  }
}