@Test(expected = SchemaValidationException.class)
public void rootTypeIsNotRecord() throws Exception {

  Schema schema = SchemaBuilder.builder().bytesType();
  DataHighwaySchemaValidator.validate(schema, DISALLOW_NON_NULLABLE_UNIONS);
}