@Test
public void testBooleanEvent() {

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