public static void validateValue(Schema schema, Object value) {
        validateValue(null, schema, value);
    }
@Test
    public void testValidateValueMismatchBytes() {
        assertThrows(DataException.class,
            () -> ConnectSchema.validateValue(Schema.BYTES_SCHEMA, new Object[]{1, "foo"}));
    }