ConfigurationEvent { public float getFloatValue() throws NumberFormatException { return ConfigurationSection.getFloatValue(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 testFloatEvent() { ConfigurationEvent event; event = new ConfigurationEvent(conf, VARIABLE_NAME, Float.toString(FLOAT_VALUE)); assert FLOAT_VALUE == event.getFloatValue(); event = new ConfigurationEvent(conf, VARIABLE_NAME, null); assert 0 == event.getFloatValue(); }