@Test
public void testStringEvents() {

    ConfigurationEvent event;
    // Makes sure the value passed to the constructor is properly returned.
    event = new ConfigurationEvent(conf, VARIABLE_NAME, STRING_VALUE);
    assert STRING_VALUE.equals(event.getValue());
    // Makes sure unset values are returned as null.
    event = new ConfigurationEvent(conf, VARIABLE_NAME, null);
    assert null == event.getValue();
}