### Question:
SchemaBuilder { public static FixedBuilder<Schema> fixed(String name) { return builder().fixed(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(expected = AvroTypeException.class) public void testNameReserved() { SchemaBuilder.fixed("long").namespace("").size(1); }
@Test public void testDoc() { Schema s = SchemaBuilder.fixed("myfixed").doc("mydoc").size(1); Assert.assertEquals("mydoc", s.getDoc()); }
@Test public void testFixed() { Schema expected = Schema.createFixed("myfixed", null, null, 16); expected.addAlias("myOldFixed"); Schema schema = SchemaBuilder.fixed("myfixed").aliases("myOldFixed").size(16); Assert.assertEquals(expected, schema); }