@Test
public void testFloatEvent() {

    ConfigurationEvent event;
    // Makes sure the value passed to the constructor is properly returned.
    event = new ConfigurationEvent(conf, VARIABLE_NAME, Float.toString(FLOAT_VALUE));
    assert FLOAT_VALUE == event.getFloatValue();
    // Makes sure unset values are returned as 0.
    event = new ConfigurationEvent(conf, VARIABLE_NAME, null);
    assert 0 == event.getFloatValue();
}