@Test(expected = ConfigException.class)
public void testInvalidDefaultRange() {

  ConfigDef
      def =
      new ConfigDef()
          .define("name", Type.INT, -1, ConfigDef.Range.between(0, 10), ConfigDef.Importance.HIGH,
                  "docs");
}