ConfigurationEvent { public double getDoubleValue() { return ConfigurationSection.getDoubleValue(value); } ConfigurationEvent(Configuration configuration, String name, String value); Configuration getConfiguration(); String getVariable(); String getValue(); int getIntegerValue(); float getFloatValue(); boolean getBooleanValue(); long getLongValue(); double getDoubleValue(); ValueList getListValue(String separator);  }
@Test public void testDoubleEvent() { ConfigurationEvent event; event = new ConfigurationEvent(conf, VARIABLE_NAME, Double.toString(DOUBLE_VALUE)); assert DOUBLE_VALUE == event.getDoubleValue(); event = new ConfigurationEvent(conf, VARIABLE_NAME, null); assert 0 == event.getDoubleValue(); }