Package org.linuxforhealth.fhir.config
Class ConfigurationService.EnvironmentVariables
- java.lang.Object
-
- org.linuxforhealth.fhir.config.ConfigurationService.EnvironmentVariables
-
- Enclosing class:
- ConfigurationService
public static class ConfigurationService.EnvironmentVariables extends java.lang.Object
Utility class that allows mocking system environment variables retrieval in test classes (as Mockito disallows mocking static methods ofSystem
).
-
-
Constructor Summary
Constructors Constructor Description EnvironmentVariables()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.String>
get()
Simple proxy method forSystem.getenv()
that returns an unmodifiable string map view of the current system environment.
-