in maven-plugin-testing-harness/src/main/java/org/apache/maven/api/plugin/testing/stubs/SessionStub.java [81:95]
public SessionStub(Map<String, String> systemProperties, Map<String, String> userProperties, Settings settings) {
this.settings = settings;
this.systemProperties = new HashMap<>();
if (systemProperties != null) {
this.systemProperties.putAll(systemProperties);
}
System.getProperties().forEach((k, v) -> this.systemProperties.put(k.toString(), v.toString()));
this.userProperties = new HashMap<>();
if (userProperties != null) {
this.userProperties.putAll(userProperties);
}
}