Package dev.galasa.framework.api.common
Interface Environment
- All Known Implementing Classes:
SystemEnvironment
public interface Environment
An interface through which we can get environment variable values.
Allows for easy mocking of the System class, which is notoriously hard to mock
out for unit tests.
-
Method Summary
-
Method Details
-
getenv
Gets the value of a given environment variable. -
getProperty
Gets a system property
-