docs: private static void setProperties(GenericApplicationContext newContext, Properties properties) {
          PropertiesPropertySource pps = new PropertiesPropertySource("external-props", properties);
          newContext.getEnvironment().getPropertySources().addFirst(pps);
      }