### Question:
SchemaBuilder { public static EnumBuilder<Schema> enumeration(String name) { return builder().enumeration(name); } private  SchemaBuilder(); static TypeBuilder<Schema> builder(); static TypeBuilder<Schema> builder(String namespace); static RecordBuilder<Schema> record(String name); static EnumBuilder<Schema> enumeration(String name); static FixedBuilder<Schema> fixed(String name); static ArrayBuilder<Schema> array(); static MapBuilder<Schema> map(); static BaseTypeBuilder<UnionAccumulator<Schema>> unionOf(); static BaseTypeBuilder<Schema> nullable();  }### Answer:
@Test public void testEnum() { List<String> symbols = Arrays.asList("a", "b"); Schema expected = Schema.createEnum("myenum", null, null, symbols); expected.addProp("p", "v"); Schema schema = SchemaBuilder.enumeration("myenum").prop("p", "v").symbols("a", "b"); Assert.assertEquals(expected, schema); }
@Test public void testEnumWithDefault() { List<String> symbols = Arrays.asList("a", "b"); String enumDefault = "a"; Schema expected = Schema.createEnum("myenum", null, null, symbols, enumDefault); expected.addProp("p", "v"); Schema schema = SchemaBuilder.enumeration("myenum").prop("p", "v").defaultSymbol(enumDefault).symbols("a", "b"); Assert.assertEquals(expected, schema); }