ConfigurationEvent { public boolean getBooleanValue() { return ConfigurationSection.getBooleanValue(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 testBooleanEvent() { ConfigurationEvent event; event = new ConfigurationEvent(conf, VARIABLE_NAME, Boolean.toString(BOOLEAN_VALUE)); assert BOOLEAN_VALUE == event.getBooleanValue(); event = new ConfigurationEvent(conf, VARIABLE_NAME, null); assert false == event.getBooleanValue(); }