public ConfigurationProperty getProperty(final String key) {
        return stream().filter(item -> item.getConfigurationKey().getName().equals(key)).findFirst().orElse(null);
    }
@Test
    void shouldGetConfigPropertyForGivenKey() {
        ConfigurationProperty property1 = new ConfigurationProperty(new ConfigurationKey("key1"), new ConfigurationValue("value1"), null, null);
        ConfigurationProperty property2 = new ConfigurationProperty(new ConfigurationKey("key2"), new ConfigurationValue("value2"), null, null);
        Configuration config = new Configuration(property1, property2);
        assertThat(config.getProperty("key2")).isEqualTo(property2);
    }