@Test
public void testBuilder() {

    Schema plain = Decimal.builder(2).build();
    assertEquals(Decimal.LOGICAL_NAME, plain.name());
    assertEquals(Collections.singletonMap(Decimal.SCALE_FIELD, "2"), plain.parameters());
    assertEquals(1, (Object) plain.version());
}