public Environment addAll(@NonNull Map<String, String> map) {
        map.forEach((key, value) -> this.props.setProperty(key, value));
        return this;
    }
@Test
    public void testAddAll() {
        Environment environment = Environment.empty();

        Properties prop = new Properties();
        prop.setProperty("a", "1");
        environment.addAll(prop);

        assertEquals(1, environment.size());

        Map<String, String> map = Collections.singletonMap("aa", "bb");

        environment.addAll(map);
        assertEquals(2, environment.size());
    }