code: @Override
    public Properties getConfiguration(Environment environment) {
      if (cachedConfigurationPerEnvironment.containsKey(environment.getName())) {
        return cachedConfigurationPerEnvironment.get(environment.getName());
      } else {
        throw new MissingEnvironmentException(environment.getName());
      }
    }
docs: Get configuration set for a given {@code environment} from the cache. For cache to be seeded
  you have to call the {@link #reload(Environment)} method before calling this method. Otherwise
  the method will throw {@link MissingEnvironmentException}.
  
  @param environment environment to use
  @return configuration set for {@code environment}
  @throws MissingEnvironmentException when there's no config for the given environment in the cache