@Test
public void testQueryUndefinedConfigurationProperty() {

    final String key = "undefined.property";
    File propertiesFile = configFile("compliancetool-updater.properties");
    SW360Configuration configuration = new SW360Configuration(propertiesFile);
    try {
        configuration.getProperty(key);
        fail("Access to undefined property not detected!");
    } catch (ConfigurationException e) {
        assertThat(e.getMessage()).contains(key);
    }
}