public static BigDecimal convertToDecimal(Schema schema, Object value, int scale) {
        if (value == null) {
            throw new DataException("Unable to convert a null value to a schema that requires a value");
        }
        return convertToDecimal(Decimal.schema(scale), value);
    }
@Test
    public void shouldFailToConvertNullToDecimal() {
        assertThrows(DataException.class, () -> Values.convertToDecimal(null, null, 1));
    }